Closed DanielBauman88 closed 1 year ago
To see this run println!("{}", BigDecimal::from_str("1_1.2_2").unwrap().to_string()); and you will see 1.122 as the output.
println!("{}", BigDecimal::from_str("1_1.2_2").unwrap().to_string());
1.122
Proposed fix: https://github.com/akubera/bigdecimal-rs/pull/99
To see this run
println!("{}", BigDecimal::from_str("1_1.2_2").unwrap().to_string());
and you will see1.122
as the output.