common_decimal::decimal128

Function format_decimal_str

Source
fn format_decimal_str(value_str: &str, precision: usize, scale: i8) -> String
Expand description

Port from arrow-rs, see https://github.com/Apache/arrow-rs/blob/master/arrow-array/src/types.rs#L1323-L1344