All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bug with addAmounts and negative amounts
- JSDoc function documentation
- formatAmount to show decimals when there's no cents
- multiplyAmount with support for amounts
- Renamed multiplyAmount to scaleAmount
- Banner image from npm package files
- compareAmount
- discountAmount
- formatAmount with USD support
- isAmountNegative
- isAmountZero
- isValidAmount
- Renamed addAmount to addAmounts
- sumAmounts now expects an Amount[] parameter
- Incorrect output for negative values for floatToAmount
- isAmountPositive incorrectly returning true for negative subdecimal values e.g. -0.01
- Amount type to not support more than 2 subdecimal digits.