Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 687 Bytes

CHANGELOG.md

File metadata and controls

32 lines (19 loc) · 687 Bytes

Changelog

All notable changes to const-decimal.

Unreleased

  • Add fpdec_comparison benchmark.
  • Parse strings without a decimal point.
  • Add quantize_round_to_zero.
  • Impl num_traits::Zero, num_traits::One, and std::ops::Rem.

0.3.0

  • BREAKING: Remove from_scaled in favor of try_from_scaled.

0.2.2

  • Correctly format Decimal::ZERO as 0.0... not -0.0....

0.2.1

  • Added Decimal::to_f64(&self).

0.2.0

  • Added BorshSerialize and BorshDeserialize behind borsh feature flag.
  • Added AddAssign, SubAssign, MulAssign, and DivAssign.
  • Implemented Decimal::from_scaled(integer: I, decimals: u8).

0.1.0

  • Initialize release.