You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been experimenting a bit with this crate for a project that I'm working on, and I wonder, is there a way to perform all calculations using a decimal numeric type, like rust_decimal or similar, rather than a floating point type?
This as some use cases needs to be able to guarantee the exact the precision of calculations.
The text was updated successfully, but these errors were encountered:
For now you would need make a fork and then alter the type alias for the decimal type. But I am planning to make the integer and decimal types generic at some point, see #111.
However, at the moment I don't have much time for this crate.
I have been experimenting a bit with this crate for a project that I'm working on, and I wonder, is there a way to perform all calculations using a decimal numeric type, like rust_decimal or similar, rather than a floating point type?
This as some use cases needs to be able to guarantee the exact the precision of calculations.
The text was updated successfully, but these errors were encountered: