paupino / rust-decimal

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

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

Closed paupino closed 7 months ago

paupino commented 7 months ago

Fixes #543 Fixes #542

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

paupino commented 7 months ago

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