iOS Question Calculations with comma value

JonPM

Well-Known Member
Licensed User
Longtime User
I have a calculator app which allows for decimal number input only. The problem is that some devices (depending on locality) use the comma instead of a period for decimal point. So currently if the user uses ',' as the separator my app returns 0 as answer. What is the best method of performing arithmetic on inputs that use comma?
 
Top