pub fn f32_to_6digits(n: f32, decimals: u8) -> [u8; 6]
Formats a f32 with the given amount of decimal digits, for a 6-digit display.
f32
6-digit display