I'm looking for a method to get decimal and thousands separators from NumberFormat object.
var de = new Intl.NumberFormat('de-DE');
Later I plan to use them to parse formated string back to Javascript's float. I know I could create sample number and then scan it with regex but I feel there must be some easier method to get those separators.
Here the js function which will return formatted