Skip to main content

trim_decimal

Function trim_decimal 

Source
pub fn trim_decimal(s: &str) -> String
Expand description

Removes trailing zeros (and a trailing point) from a decimal string.