test
This commit is contained in:
@@ -3,7 +3,8 @@ local min = 212
|
|||||||
|
|
||||||
|
|
||||||
local function getValue()
|
local function getValue()
|
||||||
local kelvin = reactor.getTemperature() or 0
|
-- local kelvin = reactor.getTemperature() or 0
|
||||||
|
local kelvin = 3000
|
||||||
local fahrenheit = (kelvin - 273.15) * 9 / 5 + 32
|
local fahrenheit = (kelvin - 273.15) * 9 / 5 + 32
|
||||||
return math.floor(fahrenheit * 10000 + 0.5) / 10000
|
return math.floor(fahrenheit * 10000 + 0.5) / 10000
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user