pub fn format_decimal(value: f64, decimals: usize) -> String
value with decimals digits after the decimal separator of the current language (1,50 in German, 1.50 in English).
value
decimals
1,50
1.50