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

MS Edge - NumberFormat shows fraction digits with min and max set to 0 #327

Closed
EgonJajak opened this issue Jan 31, 2019 · 1 comment
Closed

Comments

@EgonJajak
Copy link

EgonJajak commented Jan 31, 2019

This

new Intl.NumberFormat("nl-NL", {
            style: 'currency',
            currency: 'CZK',
            currencyDisplay: 'code',
            maximumFractionDigits: 0,
            minimumFractionDigits: 0,
            })).format(10);

produces CZK 10 in most browsers
and CZK 10,00 in MS Edge.

See https://jsfiddle.net/djcakx06

@EgonJajak
Copy link
Author

I've just discovered this issue happens only in the newest Edge and It is not related with this library.

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