pub fn format_decimal_str( value_str: &str, precision: usize, scale: i8, ) -> String
Formats a decimal string given the precision and scale.