Open nicosayer opened 4 years ago
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 :
EUR 123.00
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 ?
I need to display the currency name but it looks like it doesn't work.
The following code returns
EUR 123.00
instead of123.00 euros
:Is there something I forgot or any known work-around ?