-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop overriding ISO digits with CLDR digits.
For ~14 currencies ISO specifies 2 or 3 digits, but CLDR specifies 0, because that better reflects real world usage, where the currency's minor units no longer have value and aren't used in cash transactions. However, it is common in such cases for the digits to still be used for banking transactions, tax amounts, etc. Since those represent common use cases for this package, it is safer to default to the ISO digits, and let consumers further restrict and round as needed. Fixes #37.
- Loading branch information
Showing
2 changed files
with
10 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters