banknote
banknote copied to clipboard
Solves the subunits per unit using real data from Unicode CLDR
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 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?
Upsss.. missed it. I am going to provide the proper script to regenerate the subunitsPerUnit
using the currencyData.json
file provided by cldr-data
.