Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

currencydisplay: "name" not working #343

Open
nicosayer opened this issue Sep 3, 2020 · 0 comments
Open

currencydisplay: "name" not working #343

nicosayer opened this issue Sep 3, 2020 · 0 comments

Comments

@nicosayer
Copy link

nicosayer commented Sep 3, 2020

I need to display the currency name but it looks like it doesn't work.

The following code returns EUR 123.00 instead of 123.00 euros :

new Intl.NumberFormat('en-US', { style: 'currency', currency: 'EUR', currencyDisplay: 'name' }).format('123')

Is there something I forgot or any known work-around ?

@nicosayer nicosayer changed the title currencydisplay: "name" nor working currencydisplay: "name" not working Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant