From d2d2ab05553903bc235228101b97217be9c5dbf9 Mon Sep 17 00:00:00 2001 From: Ben Allen Date: Tue, 27 Aug 2024 10:15:46 -0700 Subject: [PATCH] Editorial: Added note to `CurrencyDigits` AO explaining that implementations using CLDR should not use CLDR's "cashDigits" and "cashRounding" attributes when formatting currency values. --- spec/numberformat.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/numberformat.html b/spec/numberformat.html index 1ac43463..9deabc3d 100644 --- a/spec/numberformat.html +++ b/spec/numberformat.html @@ -697,6 +697,11 @@

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. + + + Implementations using the locale data provided by the Common Locale Data Repository (available at https://cldr.unicode.org/) 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. +