Trim characters from a value gotten from BME280
Posted: Thu Nov 10, 2016 7:19 pm
Using a NodeMCU1.0 board with a BME280 for a little project. The BME280 returns values for temp, humidity, and dew point with decimals such as 74.14 F. I want to trim the output of that so it just shows 74 F or at least 74.1 F. Does anyone know how I can do that? I looked throught eh BME280-master library I am using but no help. Thanks.