The application is an altimeter and vario based on a BMP280, so the diisplay can be from -30,000 to +30,000
feet , and -20..+20 feet/second.
altitude :
less than abs(10) show to 1dp
abs (10 - 100) no dp
abs (>100) to nearest 10 feet
vario :
1dp fixed.
I'm messing about to get the display I want - the (float,1 ) works perfectly - thanks.
regards
Allan.