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 d2d2ab0
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit d2d2ab0

Please sign in to comment.