Number.toLocaleString('nb') not returning norwegian format in Microsoft Edge

Viewed 129

I am trying to format a number to norwegian format by using Number.toLocaleString()

It gives the correct format in Chrome, but not in Microsoft Edge.

(1000).toLocaleString('nb', {minimumFractionDigits: 2, maximumFractionDigits: 2})

"1 000,00" <-- expected

"1,000.00" <-- actual result

Is Edge missing the norwegian format or am I doing something wrong?

1 Answers

This should work now in Microsoft Edge Version 94.0.992.31 (Official build)

Related