From 6b95dec394253343ea05336a1be726bd66f86889 Mon Sep 17 00:00:00 2001 From: itzmarkoni Date: Sat, 14 Jun 2025 14:09:44 -0400 Subject: [PATCH] updated --- temperature_driver.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/temperature_driver.lua b/temperature_driver.lua index 66b8e61..6566f52 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -2,7 +2,7 @@ local function getValue(reactor) local kelvin = reactor.getTemperature() or 0 local fahrenheit = (kelvin - 273.15) * 9 / 5 + 32 - return fahrenheit + return math.floor(fahrenheit * 100 + 0.5) / 100 end local function color(reactor)