On my phone (Samsung Galaxy S7), the Android app displays the pressure in up to 5 decimal places. But the Arduino library only offers long int. Why is that? In the conversion, it only makes a difference of about .03 inHg per hPa but I’m still curious why.
I looked at the Android code and it does convert pressure to a long int before sending it to the Arduino. I installed Android Studio, added the float value to the argument list and added code to the library to add a new function to the library called Pressure.getValueFloat() that retrieves the float value. It’s working great!