[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currencies: Support optional grouping, decimal data, and pattern elements #831

Open
rxaviers opened this issue Jun 13, 2018 · 0 comments
Open

Comments

@rxaviers
Copy link
Member
rxaviers commented Jun 13, 2018

Ref: similar issue than reported in tc39/ecma402#241

Globalize("pt-PT").formatCurrency(1, "PTE");
> "1,00 ​"

UTS#35 says:

Currencies can also contain optional grouping, decimal data, and pattern elements. This data is inherited from the in the same locale data (if not present in the chain up to root), so only the differing data will be present. See the main document Section 4.1 Multiple Inheritance.

Example: https://github.com/unicode-cldr/cldr-numbers-full/blob/master/main/pt-PT/currencies.json#L1303-L1310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant