Skip to content

Commit

Permalink
Editorial: Added note to CurrencyDigits AO explaining that
Browse files Browse the repository at this point in the history
implementations using CLDR should not use CLDR's "cashDigits" and
"cashRounding" attributes when formatting currency values.
  • Loading branch information
ben-allen committed Aug 27, 2024
1 parent ef423a8 commit 95ee2c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,10 @@ <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. Implementations using CLDR should ignore the *"rounding"* and *"cashRounding"* attributes, since CLDR's values for these attributes do not take into account jurisdictional differences in required rounding increments for currency values.
</emu-note>
</emu-clause>

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

0 comments on commit 95ee2c8

Please sign in to comment.