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

CLDR Ticket #6875(closed: fixed)

Opened 5 years ago

Last modified 4 years ago

Review currencies for decimals.

Reported by: mark Owned by: emmons
Component: xxx-test Data Locale:
Phase: rc Review: mark
Weeks: Data Xpath:


It probably would be a good idea to go through this exercise from ticket:6871 also for the top currencies (those that aren't obvious, like USD, EUR, etc.). I'd suggest investigating any currency whose lowest digit is less than (say) 0.5 cent in value.

The following have two decimal places, but with values of that final value are less than 0.5 cent, based on a (very) quick dump into Google spreadsheets (using =100*GoogleFinance("CURRENCY:"&B77&"USD")/power(10,C77) to compute the first field))

0.00004	ECS	2	Ecuadorian Sucre	Ecuador (EC)
0.00550	SIT	2	Slovenian Tolar	Slovenia (SI)
0.00630	NGN	2	Nigerian Naira	Nigeria (NG)
0.00649	KZT	2	Kazakhstani Tenge	Kazakhstan (KZ)
0.00765	LKR	2	Sri Lankan Rupee	Sri Lanka (LK)
0.00973	JMD	2	Jamaican Dollar	Jamaica (JM),
0.01006	NPR	2	Nepalese Rupee	Nepal (NP)
0.01155	KES	2	Kenyan Shilling	Kenya (KE)
0.01277	DZD	2	Algerian Dinar	Algeria (DZ)
0.01286	BDT	2	Bangladeshi Taka	Bangladesh (BD)
0.01608	INR	2	Indian Rupee	Bhutan (BT), India (IN),
0.02225	MKD	2	Macedonian Denar	Macedonia (MK)
0.02266	PHP	2	Philippine Peso	Philippines (PH)
0.02352	DOP	2	Dominican Peso	Dominican Republic (DO)
0.03043	RUB	2	Russian Ruble	Russia (RU)
0.03121	THB	2	Thai Baht	Thailand (TH)
0.03376	TWD	2	New Taiwan Dollar	Taiwan (TW)
0.04000	NIO	2	Nicaraguan Córdoba	Nicaragua (NI)
0.04559	SKK	2	Slovak Koruna	Slovakia (SK)
0.04695	UYU	2	Uruguayan Peso	Uruguay (UY)
0.04890	HNL	2	Honduran Lempira	Honduras (HN)
0.04991	CZK	2	Czech Republic Koruna	Czech Republic (CZ)
0.06502	MVR	2	Maldivian Rufiyaa	Maldives (MV)
0.07754	MXN	2	Mexican Peso	Mexico (MX)
0.07927	MDL	2	Moldovan Leu	Moldova (MD)
0.08284	SCR	2	Seychellois Rupee	Seychelles (SC)
0.08525	EEK	2	Estonian Kroon	Estonia (EE)
0.09713	NAD	2	Namibian Dollar	Namibia (NA)
0.09713	ZAR	2	South African Rand	Lesotho (LS), South Africa (ZA), Namibia (NA),
0.11429	SVC	2	Salvadoran Colón	El Salvador (SV)
0.11540	BWP	2	Botswanan Pula	Botswana (BW)
0.12092	UAH	2	Ukrainian Hryvnia	Ukraine (UA)
0.12192	MAD	2	Moroccan Dirham	Morocco (MA), Western Sahara (EH)
0.12897	HKD	2	Hong Kong Dollar	Hong Kong SAR China (HK)
0.14472	BOB	2	Bolivian Boliviano	Bolivia (BO)
0.14521	EGP	2	Egyptian Pound	Egypt (EG),
0.15209	SEK	2	Swedish Krona	Sweden (SE),
0.15601	TTD	2	Trinidad and Tobago Dollar	Trinidad and Tobago (TT)
0.15893	VEF	2	Venezuelan Bolívar	Venezuela (VE)
0.15903	ARS	2	Argentine Peso	Argentina (AR)
0.16167	NOK	2	Norwegian Krone	Bouvet Island (BV), Norway (NO), Svalbard and Jan Mayen (SJ)
0.16471	CNY	2	Chinese Yuan	China (CN)
0.17986	ZMW	2	Zambian Kwacha	Zambia (ZM)
0.18007	HRK	2	Croatian Kuna	Croatia (HR)
0.18407	DKK	2	Danish Krone	Faroe Islands (FO), Greenland (GL), Denmark (DK),
0.26662	SAR	2	Saudi Riyal	Saudi Arabia (SA)
0.27226	AED	2	United Arab Emirates Dirham	United Arab Emirates (AE)
0.27465	QAR	2	Qatari Rial	Qatar (QA)
0.28550	ILS	2	Israeli New Sheqel	Israel (IL), Palestinian Territories (PS)
0.30829	RON	2	Romanian Leu	Romania (RO)
0.30926	MYR	2	Malaysian Ringgit	Malaysia (MY),
0.32853	PLN	2	Polish Zloty	Poland (PL)
0.36108	PEN	2	Peruvian Nuevo Sol	Peru (PE)
0.37000	PGK	2	Papua New Guinean Kina	Papua New Guinea (PG)
0.39777	LTL	2	Lithuanian Litas	Lithuania (LT)
0.42919	BRL	2	Brazilian Real	Brazil (BR)
0.49022	TRY	2	Turkish Lira	Turkey (TR)


Change History

comment:1 Changed 5 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to data
  • Priority changed from assess to medium
  • Milestone changed from UNSCH to 25rc
  • Owner changed from anybody to emmons
  • type changed from unknown to task

comment:2 Changed 5 years ago by emmons

  • Milestone changed from 25rc to 26dsub

comment:3 Changed 5 years ago by emmons

  • Milestone changed from 26dsub to 26rc

comment:4 Changed 5 years ago by emmons

If we don't have one already, we should write a test to verify that our currency data matches ISO.

comment:5 Changed 5 years ago by emmons

  • Owner emmons deleted
  • Status changed from assigned to new

I know there's no way I'm going to get to this in 26. If someone wants to take this on, then please do so.

comment:6 Changed 5 years ago by mark

  • Owner set to emmons
  • Status changed from new to assigned
  • Milestone changed from 26rc to 27dvet

comment:7 Changed 5 years ago by markus

  • Phase set to dvet
  • Milestone changed from 27dvet to 27

comment:8 Changed 4 years ago by emmons

  • Priority changed from medium to minor

comment:9 Changed 4 years ago by emmons

  • Milestone changed from 27 to 28

Pushing to 28 due to lack of time.

comment:10 Changed 4 years ago by emmons

  • Phase changed from dvet to rc
  • Status changed from assigned to reviewing
  • Component changed from data-main to test
  • Review set to mark
  • Milestone changed from 28 to 27

I had added some tests that validate CLDR's decimal places for currencies vs. ISO, but the actual review still hasn't been done. Follow-up ticket Cldrbug:8249 created for that piece of the work.

comment:11 Changed 4 years ago by mark

  • Status changed from reviewing to closed
  • Resolution set to fixed

Add a comment

Modify Ticket

as closed
Next status will be 'new'
Next status will be 'closed'

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

Note: See TracTickets for help on using tickets.