Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Note on use of CLDR data for rounding currency values #921

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,11 @@ <h1>
1. Assert: _currency_ is the ASCII-uppercase of _currency_.
1. If the ISO 4217 currency and funds code list contains _currency_ as an alphabetic code, return the minor unit value corresponding to the _currency_ from the list; otherwise, return 2.
</emu-alg>

<emu-note>
Implementations using the locale data provided by the Common Locale Data Repository (available at <a href="https://cldr.unicode.org/">https://cldr.unicode.org/</a>) should determine the number of minor units displayed using the value of the *"digits"* attribute rather than the value of the*"cashDigits"* attribute.
Likewise, implementations using CLDR should ignore the *"rounding"* and *"cashRounding"* attributes.
</emu-note>
</emu-clause>

<emu-clause id="sec-number-format-functions">
Expand Down
Loading