NUC-30: Round VOC to two digits
This commit is contained in:
parent
3f8edbe608
commit
81dda269a8
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ namespace NucuCar.Sensors.Environment
|
|||
_lastMeasurement.Temperature = temp.Celsius;
|
||||
_lastMeasurement.Pressure = pressure.Hectopascal;
|
||||
_lastMeasurement.Humidity = humidity;
|
||||
_lastMeasurement.VolatileOrganicCompounds = gasResistance;
|
||||
_lastMeasurement.VolatileOrganicCompounds = Math.Round(gasResistance / 1000, 2);
|
||||
|
||||
Logger?.LogDebug($"{DateTimeOffset.Now}:BME680: reading");
|
||||
Logger?.LogInformation(
|
||||
|
|
Loading…
Reference in a new issue