Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8001533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:07:03+00:00 2026-06-04T16:07:03+00:00

New to iOS development and I’m just making a little wage-type calculator for a

  • 0

New to iOS development and I’m just making a little wage-type calculator for a starter. I’m exploring different features, including making the app available in France and other non-English native countries.

However, as my application is heavily reliant upon calculating figures which have a decimal point in them, I want to know if iOS will calculate the figure if a comma is used as a decimal point, as 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

I am pretty much asking a) if a comma is inserted rather than a decimal point, will it still calculate on local devices, and b) if not, what code should I include in my application such that it will calculate 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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:07:04+00:00Added an answer on June 4, 2026 at 4:07 pm

    Actually, iOS has a handy class built-in to handle the localization of numerical values. It’s called NSNumberFormatter and it specifically has the -setDecimalSeparator: method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to iOS development and I'm having trouble making a simple Json POST
I'm new to iOS development, I just have UITableViewController in a storyboard. I would
I'm new to iOS development--I'm working on passing data between different views... Let's say
i am new to ios development. I just came to know that their are
I'm new to IOS development, and I'm just trying to get my head around
I'm new to iOS development. I just installed Xcode 3.2.4 and the iOS 4.1
I am new to iOS development. For my little messenger I need a contact
I'm new to iOS development so please bear with me. I'm making a photo-grid
I am new iOS development but I know android at eclipse. For example I
I'm new in iOS development, and met this library linking problem in last few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.