Could you advise on what's the best approach to retrieveting an actual value from differently formatted string numbers?
Example:
I want to be able to pass in all these strings:
101,00
101.00
-101,00
-101.00
100,000.00
100.000,00
-100,000.00
-100.000,00
And get these returns from the method:
101.00
101.00
-101.00
-101.00
100000.00
100000.00
-100000.00
-100000.00
Should I just use string.replaceAll("","") or is there a better way?
Thanks