banknote icon indicating copy to clipboard operation
banknote copied to clipboard

Solves the subunits per unit using real data from Unicode CLDR

Open pablomartinezalvarez opened this issue 7 years ago • 2 comments

Replaces the default 100 value of the subunitsPerUnit by real values extracted from https://unicode.org/cldr/charts/latest/supplemental/detailed_territory_currency_information.html#format_info

pablomartinezalvarez avatar Feb 26 '18 13:02 pablomartinezalvarez

@pablomartinezalvarez Thank you for the PR, in general it looks good, but the this project is setup such that it should support regenerating all the data files out of the CLDR npm package.

Could you please add code into update folder that can extract this info automatically?

grassator avatar Feb 26 '18 15:02 grassator

Upsss.. missed it. I am going to provide the proper script to regenerate the subunitsPerUnit using the currencyData.json file provided by cldr-data.

pablomartinezalvarez avatar Feb 26 '18 16:02 pablomartinezalvarez