Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect handling of _ in decimal
BigDecimal supports '_' chars as visual seperators in number strings in the pre and post "." parts of the number. The counting of post "." digits however counts all characters but it should exclude '_' chars. The underscore support comes from BigDecimal's use of num-bigint https://github.com/rust-num/num-bigint/blob/6f2b8e0fc218dbd0f49bebb8db2d1a771fe6bafa/src/biguint/convert.rs#L246 #100
- Loading branch information