How can I get float values from a BME280 on a integer build using the BME280 Lua module with bme280_math?
Using the deprecated bme280 c-Module, for instance, temperature values were: temperature in °C * 100, getting float values was like:
tempFloat = tostring(temp/100).."."..temp%100
Now, with bme280 Lua module and bme280_math, the temperature is returned in °C, so on an integer build readings are now "24" instead of "24378". How to get "24378" again?
The bme280 lua module used on an integer build will return integer values with 1°C resolution only.