Skip to main content

fmt_stat

Function fmt_stat 

Source
pub fn fmt_stat(v: f32, decimals: usize) -> String
Expand description

Format a statistic value compactly: whole numbers (nnz, integer counts) print without a decimal point; fractional values (mean, sd) get decimals places.