Skip to main content

format_decimal

Function format_decimal 

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

value with decimals digits after the decimal separator of the current language (1,50 in German, 1.50 in English).