New to iOS, and I'm just making a small calculator for the starter. I am studying various features, including an application available in France and other non-English countries.
However, since my application is very dependent on calculating the numbers that have a decimal point in them, I want to know if iOS will calculate the number if the comma is used as a decimal point, since countries like France use this notation:
Australia / United States / Other countries:
12.5 * 15.8 = 197.5
France / other countries:
12,5 * 15,8 = 197,5
Basically I ask: a) if a comma is inserted instead of a decimal point, it will still be calculated on local devices, and b) if not, what code should be included in my application so that it calculates this notation? (Note that I am not asking for a comma as a separator, but what acts as the equivalent of a decimal point.)
Thank you in advance!
source share