tm1637_embedded_hal::formatters

Function f32_to_6digits

Source
pub fn f32_to_6digits(n: f32, decimals: u8) -> [u8; 6]
Expand description

Formats a f32 with the given amount of decimal digits, for a 6-digit display.