pub fn trim_decimal(s: &str) -> String
Removes trailing zeros (and a trailing point) from a decimal string.