Skip to main content

format_value

Function format_value 

Source
pub fn format_value(value: f64, decimals: usize, step: f64) -> String
Expand description

A value at the precision of step, switching to scientific notation for very large or very small magnitudes. -0 prints as 0.