Skip to main content

fmt_num

Function fmt_num 

Source
pub fn fmt_num(n: usize) -> String
Expand description

Format a number with comma separators (e.g. 2097152 -> “2,097,152”). Returns an em-dash for zero.