Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

style currency not honoring compactDisplay long #95

Closed
LuigiClaudio opened this issue Mar 13, 2020 · 2 comments
Closed

style currency not honoring compactDisplay long #95

LuigiClaudio opened this issue Mar 13, 2020 · 2 comments
Labels
future Issue is valid but will not be prioritized currently locale-data This issue/PR pertains to locale data

Comments

@LuigiClaudio
Copy link

Intl.NumberFormat('en-US',{ style:'currency', currency: 'USD', notation: "compact" , compactDisplay: "long"}).format(987654321)
Returns "$988M"
Expected "$988 million"

When using compacyDisplay: 'long' with style: 'currency', the long option is not honored.

@sffc
Copy link
Collaborator

sffc commented Mar 13, 2020

CLDR does not currently provide long compact currency patterns, so we fall back to short.

I'll file an upstream tickets to ask how we should handle this case in CLDR:

https://unicode-org.atlassian.net/browse/CLDR-13651

@sffc sffc added future Issue is valid but will not be prioritized currently locale-data This issue/PR pertains to locale data labels Mar 13, 2020
@sffc
Copy link
Collaborator

sffc commented Mar 23, 2020

Closing this ticket since it is not actionable from a 402 perspective.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
future Issue is valid but will not be prioritized currently locale-data This issue/PR pertains to locale data
Projects
None yet
Development

No branches or pull requests

2 participants