[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #5302(accepted data)

Opened 6 years ago

Last modified 3 years ago

ISO and CLDR data for currency formatting differ on many points

Reported by: cira Owned by: anybody
Component: main Data Locale:
Phase: Review:
Weeks: Data Xpath:


I am working on EcmaScript 402 (internationalization spec) and we encountered a problem with ISO data for currency digits mostly contradicts what CLDR has.

I've attached a file that shows the Currency code, CLDR number of fractional digits and ISO number of fractional digits.

ISO table has a lot more codes than CLDR, and I added them in just for reference.


comparison.txt (1.3 KB) - added by cira 6 years ago.
Updated file with LDML default (2) used for missing codes.

Change History

comment:1 Changed 6 years ago by mark

Can you reformulate the table attached to http://unicode.org/cldr/trac/ticket/5302?

In particular, if a currency is not in the LDML table, it gets the default values (see below). So you need to compare on that basis.

It is much better for comparison if you attach a tab- or comma-delimited file, so that it can be loaded into a spreadsheet, something like:

AED	2	2
AFN	0	2

We can then review with the currency folk in CLDR the reasons behind any differences.


The fractions element contains any number of info elements, with the following attributes:

iso4217: the ISO 4217 code for the currency in question. If a particular currency does not occur in the fractions list, then it is given the defaults listed for the next two attributes.
digits: the number of decimal digits normally formatted. The default is 2.
rounding: the rounding increment, in units of 10-digits. The default is 1. Thus with fraction digits of 2 and rounding increment of 5, numeric values are rounded to the nearest 0.05 units in formatting. With fraction digits of 0 and rounding increment of 50, numeric values are rounded to the nearest 50.

Changed 6 years ago by cira

Updated file with LDML default (2) used for missing codes.

comment:2 Changed 6 years ago by mark

The following shows the differences:


AFN	0	2
ALL	0	2
AMD	0	2
COP	0	2
CRC	0	2
GYD	0	2
HUF	0	2
IDR	0	2
IQD	0	3
IRR	0	2
KPW	0	2
LAK	0	2
LBP	0	2
MGA	0	2
MMK	0	2
MNT	0	2
MRO	0	2
MUR	0	2
PKR	0	2
RSD	0	2
SLL	0	2
SOS	0	2
STD	0	2
SYP	0	2
TZS	0	2
UGX	0	2
UYI	2	0
UZS	0	2
YER	0	2
ZMK	0	2

comment:3 Changed 6 years ago by pedberg

  • Review mark deleted

This should not have a reviewer set (especially one the same as the owner). This should also not have been assigned an owner without going through the TC.

comment:4 Changed 5 years ago by mark

  • Owner changed from mark to anybody
  • Status changed from new to assigned

I think this fell through the cracks; resetting to anybody so we can consider it in committee.

comment:5 Changed 3 years ago by markus

  • Type changed from task to data

comment:6 Changed 3 years ago by srl

  • Status changed from assigned to accepted

Add a comment

Modify Ticket

as accepted

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.