Trim insignificant figures from exit air temp
Trim to whole digit precision since this is based off
of a calculation.
Change-Id: If375d5255a3bd2df800303d0b599249290dcab12
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/ExitAirTempSensor.cpp b/src/ExitAirTempSensor.cpp
index d3fb6c1..3649f2e 100644
--- a/src/ExitAirTempSensor.cpp
+++ b/src/ExitAirTempSensor.cpp
@@ -344,6 +344,7 @@
double val = 0.0;
if (calculate(val))
{
+ val = std::floor(val + 0.5);
updateValue(val);
}
else