sensor data value to float