I will immediately admit that I'm a java developer and are searching for a function similar to DecimalFormat, something like:
DecimalFormatSymbols unusualSymbols = new DecimalFormatSymbols(Locale.getDefault());
unusualSymbols.setDecimalSeparator('|');
unusualSymbols.setGroupingSeparator('^');
DecimalFormat weirdFormatter = new DecimalFormat("#,##0.###", unusualSymbols);
Number myNum = weirdFormatter.parse("8^453|13");
Code adapted from Oracle javase i18n
Every resource I can find related to this is either just to format (not parsing)
How to specify thousand separator for number pipe in Angular 4
NativeScript: Formatting number typescript
or people using regex to substitute (that seems crazy to me)
How can I parse a string with a comma thousand separator to a number?
or some general topics that does not consider interationalization
TypeScript Converting a String to a number
In Typescript, How to check if a string is Numeric
I did some digging on angular's GitHub and I did find this class format_number but also this seems only related to formatting not parsing or at least I can not figure out how to use it.
The question is: Is there an object like this in Angular?, if not also this is a valid answer (I can stop searching). If you like to pass a solution using an external library please remember to add context around the link