Dinero.js Versions Save

Create, calculate, and format money in JavaScript and TypeScript.

v2.0.0-alpha.14

1 year ago

2.0.0-alpha.14 (2023-02-27)

Bug Fixes

  • isPositive: return false with zero (#728) (140fe68)
  • up, down, halfUp: fix handling of numbers close to 0 and rounding of integer results (#711) (6b30aa0), closes #710 #713

v2.0.0-alpha.13

1 year ago

2.0.0-alpha.13 (2022-12-19)

Bug Fixes

  • toDecimal: preserve negative sign for leading zeros (#693) (e6f290d), closes #692

v2.0.0-alpha.12

1 year ago

2.0.0-alpha.12 (2022-12-09)

Bug Fixes

  • toDecimal: teach toDecimal how to handle negative units (#690) (81c5566)

v2.0.0-alpha.11

1 year ago

2.0.0-alpha.11 (2022-12-04)

Features

  • provide better support for non-decimal currencies (#309) (e7e9a19), closes #294

BREAKING CHANGES

  • ** the toUnit and the toFormat functions were removed.

v2.0.0-alpha.10

1 year ago

2.0.0-alpha.10 (2022-11-19)

Bug Fixes

  • dinero.js: don't accept extra fields inside the currency options on create (#673) (9e72f9e)

v2.0.0-alpha.9

1 year ago

2.0.0-alpha.9 (2022-11-04)

Bug Fixes

  • currencies: add missing ANG export (#447) (8a0f67b)
  • trimScale: check for zero value in countTrailingZeros (#448) (6eefe8b)

v2.0.0-alpha.8

2 years ago

2.0.0-alpha.8 (2021-08-08)

Bug Fixes

  • core: use equal function to compare currency base and exponent (ac4724f)
  • calculator-bigint: avoid transpiling exponentiation operator (53bf974)

Features

  • expose calculator types (b17bfc1)

v2.0.0-alpha.7

2 years ago

2.0.0-alpha.7 (2021-07-26)

Bug Fixes

  • dinero.js: properly re-export types and rounding functions (d40a7e2)

Features

  • dinero.js: re-export createDinero (d8d149f)

v2.0.0-alpha.6

2 years ago

2.0.0-alpha.6 (2021-07-21)

Bug Fixes

  • currencies: use proper base and exponents for MRU and MGA (ac2bb8d)

v2.0.0-alpha.5

2 years ago

2.0.0-alpha.5 (2021-07-19)

Features