Carl
Carl

Reputation: 861

Setting Currency in iPhone App

I have a setting within my App to change currency. I have since realised that this will cause problems due to different keypad locales where you could possible have a mismatch in the currency against what the keypad is e.g. euro selected in App, which uses comma as decimal separator and a locale keypad of the UK with a decimal separator.

Is the best approach to delete the setting I have and just set the currency to the locale of the phone?

Upvotes: 0

Views: 742

Answers (1)

rmaddy
rmaddy

Reputation: 318934

There is no problem. The decimal separator is based on the user's locale, not the chosen currency. For example, say you have a user in a country that uses the comma for the decimal separator but they choose US dollars. Just because people in the US normally use the period as the decimal separator doesn't mean this user wants to change to using a foreign number format. They would enter the currency in US dollars but with a comma.

Upvotes: 2

Related Questions