I'm trying to use the new Javascript internationalization API, and would like to know if there is a way to get the decimal and thousands (grouping) separator for a Intl.NumberFormat
instance?
There is a resolvedOptions
method on the object, but that does not provide the symbols.
In case anybody's wondering, then for en-US, these would be a comma ,
and period .
, such as in 1,000.00
.