Closed
Bug 1193426
Opened 10 years ago
Closed 10 years ago
Intl FormatNumber thousands separators not working with spanish locale "es"
Categories
(Core :: JavaScript: Internationalization API, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1013091
People
(Reporter: almoraleslopez, Unassigned)
Details
(Keywords: intl)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36
Steps to reproduce:
When trying to print a formatted number, the thousands separators (dots for locale "es") are not showing at the DOM and instead of a dot I have a blank space.
To reproduce:
In the console:
// chrome
> new Intl.NumberFormat('es').format(12345)
"12.345"
// firefox
> new Intl.NumberFormat('es').format(12345)
"12 345"
Actual results:
> new Intl.NumberFormat('es').format(12345)
"12 345"
Expected results:
> new Intl.NumberFormat('es').format(12345)
"12.345"
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Component: Untriaged → JavaScript: Internationalization API
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•