properly rounded mmhg

This commit is contained in:
Bailey
2022-07-25 22:12:25 +09:00
committed by GitHub
parent 9bf97144ce
commit 63bbd38deb

View File

@@ -823,7 +823,7 @@ function ExportScript.BaroPressureConverter(mainPanelDevice)
ExportScript.Tools.SendData(8079, 'Pressure'
.. '\n' .. altBaroPressMb .. " mbar"
.. '\n' .. altBaroPressMmhg .. ' mmhg'
.. '\n' .. round(altBaroPressMmhg,0) .. ' mmhg'
.. '\n' .. altBaroPressInhg .. ' inhg')
end