Decimals parsed with `_` in the rounding position round incorrectly
CAD97 opened this issue · 0 comments
CAD97 commented
[src\main.rs:109] Decimal::from_str("1.0000000000000000000000000000_6") = Ok(
1.0000000000000000000000000000,
)
Lines 358 to 364 in 4b71761
This is actually somewhat interesting to fix, as we need to scan forward to the first non-_
character, and maybe_round
doesn't have that information available currently.