Function format_as_float

Source
pub fn format_as_float(f: f64, short: bool) -> String
Expand description

Format supplied value as a float with 2 decimal places.