So I am looking at the following functionality https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString . In all the examples, its taking a US formatted number and going to another locale. Is there a way to go from another locale to US?
Example
9 000
to
9000
OR
99,99
to
99.99
Yes I can remove the space with regex, but there are other locale specific stuff I want to convert. Thanks