All notable changes to const-decimal
.
- Add
fpdec_comparison
benchmark. - Parse strings without a decimal point.
- Add
quantize_round_to_zero
. - Impl
num_traits::Zero
,num_traits::One
, andstd::ops::Rem
.
- BREAKING: Remove
from_scaled
in favor oftry_from_scaled
.
- Correctly format
Decimal::ZERO
as0.0...
not-0.0...
.
- Added
Decimal::to_f64(&self)
.
- Added
BorshSerialize
andBorshDeserialize
behindborsh
feature flag. - Added
AddAssign
,SubAssign
,MulAssign
, andDivAssign
. - Implemented
Decimal::from_scaled(integer: I, decimals: u8)
.
- Initialize release.