"Round" float to one decimal place for printing to OLED

Multiply it by 10, round it to an int then divide that by 10 to get your float?

-jim lee

1 Like