• 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: convert int to NSString (Newbie)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert int to NSString (Newbie)


  • Subject: Re: convert int to NSString (Newbie)
  • From: "Sean McBride" <email@hidden>
  • Date: Mon, 21 Feb 2005 10:38:23 -0500
  • Organization: Rogue Research

On 2005-02-21 12:52, M. Uli Kusterer said:

>>>Is there a simple way to convert an int into an NSString?
>>
>>Many ways and [NSString stringWithFormat:@"%d", intValue] is one of them.
>
>  [[NSNumber numberWithInt: theInt] stringValue] is another one.

I would think that is the better solution, as using %d doesn't (I don't
think) give localised results.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: convert int to NSString (Newbie)
      • From: Justin Spahr-Summers <email@hidden>
References: 
 >Re: convert int to NSString (Newbie) (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: login item for all users
  • Next by Date: Re: Listening to bindings
  • Previous by thread: Re: convert int to NSString (Newbie)
  • Next by thread: Re: convert int to NSString (Newbie)
  • Index(es):
    • Date
    • Thread