paupino / rust-decimal

Decimal number implementation written in pure Rust suitable for financial and fixed-precision calculations.
https://docs.rs/rust_decimal/
MIT License
1.03k stars 183 forks source link

Fixes error handling when second decimal place at tail position #636

Closed paupino closed 10 months ago

paupino commented 10 months ago

Fixes #543 Fixes #542

This explicitly handles the use case where the second decimal place is at the rounding position.

paupino commented 10 months ago

Actually, let me fix #542 also as a part of this perhaps.