• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: double to NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double to NSString


  • Subject: Re: double to NSString
  • From: Jeff Harrell <email@hidden>
  • Date: Thu, 3 Jul 2003 17:38:31 -0500

double x;
[NSString stringWithFormat:@"%g", x];

(I think I got the syntax on that right. Doin it from memory, you know.)

On Thursday, July 3, 2003, at 05:08 PM, Paul N. Schatz wrote:

Can someone tell me how to convert a double into an NSString? Google search has a direct hit on this question but the link is down. TIA.

Paul
--
--
Paul Schatz
Chem Dept
University of Virginia
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: double to NSString
      • From: John Randolph <email@hidden>
References: 
 >double to NSString (From: "Paul N. Schatz" <email@hidden>)

  • Prev by Date: Re: SystemUIMode
  • Next by Date: Re: Where to rant? Re: [OT] Re: EOF undead?
  • Previous by thread: double to NSString
  • Next by thread: Re: double to NSString
  • Index(es):
    • Date
    • Thread