Releases: scurker/currency.js
Releases · scurker/currency.js
v2.0.4
Release for security fixes in devDependencies
v2.0.3
Fixed truncation of fractional cents when using fromCents
v2.0.2
Fixed incorrect values from distribute()
when using fromCents
v2.0.1
Fixed incorrect values being returned from methods when using fromCents
(#260 thanks @chrisvariety)
v2.0.0
Breaking Changes
- Formatter now accepts a function or static option, allowing for fine tuned customization of output formats (#213)
v1.2.1
Updated flow definition for breaking changes in flow 0.82.x
. (#149) thanks @amccloud
v1.2.0
- Adjusted internal precision to better account for some edge case precision issues. (#133) thanks @tvainika
- Added new formatting options,
pattern
and negativePattern
allowing for greater flexibility of currency formats. (#95)
v1.1.3
Fixed grouping separator for numbers with 0 precision. (#109 thanks @hameedraha)
v1.1.2
- Fixed rounding not always being consistent with half cent values and high precision. (#102 thanks @philippetrepanier)
- Fixed comma separator appearing in decimals when formatting. (#104 thanks @lanceli)