A real fixed-point decimal crate in Rust

1 hellowub 1 6/17/2025, 7:50:00 AM github.com ↗

Comments (1)

hellowub · 11h ago
Although there are already some decimal crates also claim to be fixed-point, such as `bigdecimal`, `rust_decimal` and `decimal-rs`, they all bind the scale to each decimal instance, which changes during operations. They're more like floating point.

This crate primitive_fixed_point_decimal provides real fixed-point decimal types.