Re: convert int to NSString (Newbie)
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