format

Function format 

Source
pub fn format<Number: LowerExp + Display>(
    number: Number,
    pattern: &str,
) -> Result<String, NumberFmtError>
Expand description

Format a Number according to the format string. Uses the default symbols.