Function separated_float

Source
pub fn separated_float(input: &str, separator: char) -> String
Expand description

Given a input &str representing a digit (float or int), this function returns a String in which thousands separators are inserted both on the integral part and the fractional part.