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 8499673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:43:52+00:00 2026-06-11T00:43:52+00:00

I am making an iOS calculator app in which the scientific notion is enabled

  • 0

I am making an iOS calculator app in which the scientific notion is enabled by using

Label.text = [NSString stringWithFormat:@"%g",savedValue];

Its format is e.g. 1.09101e+120. Since I have enough display space I would like to make it more logical and display it as 1.09101×10120.
How can this be achieved?

  • 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-11T00:43:54+00:00Added an answer on June 11, 2026 at 12:43 am

    You will probably need another label. You need to split your string in two parts (search for e+). Extract the number and put it in the other label. And you have to do the layout on your own.

    Even easier, if Helvetica or any other Font on the iPhone supports these characters: ⁰¹²³⁴⁵⁶⁷⁸⁹ (as mentioned by Marcelo), you can just use them. But still you have to build your own custom string by replacing the e+ with x10 and the 120 with the mentioned characters.

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

Sidebar

Related Questions

I'm making an iOS app which is OpenFeint enabled. I have managed to get
I'm making an iOS app using AIR 3.1 and Flex 4.5.1, and if I
I am making an iOS app where I'm using the GDataXML library for xml
I'm making a graph for my iOS app, using the Core Plot library However
I'm making an iOS app and I need to figure out if an NSString
I'm making a iOS game which will pick a random clue(text) and image (clue
I'm using the ASIHTTPRequest lib in my iOS app for making REST requests to
I am making an iOS app which receives push notifications. Everything is set up
I'm making an iOS app in which, if memory were not an issue, there
I'm making an iOS app that needs to load some youtube videos. I was

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.