Closed
Description
- Version: 10.3.0
- Platform: Darwin Kernel Version 17.5.0
- Subsystem: Not sure.
Output of Number.toLocaleString is inconsistent since version v10.3.0
Versions prior to v10.3.0 have consistent output. Tested with v8.11.2, v9.0.0, v10.0.0, v10.2.1
$ node -v
> v10.2.1
$ node -e "console.log((1999.99).toLocaleString('us', {style: 'currency', currency: 'USD'}))"
> US$ 1,999.99
$ node -v
> v10.3.0
$ node -e "console.log((1999.99).toLocaleString('us', {style: 'currency', currency: 'USD'}))"
> $1,999.99
Activity