Re: String to Integer conversion and vice versa
Re: String to Integer conversion and vice versa
- Subject: Re: String to Integer conversion and vice versa
- From: "Finlay Dobbie" <email@hidden>
- Date: Mon, 12 Jun 2006 19:10:26 +0100
On 12/06/06, John Pannell <email@hidden> wrote:
Hi Aalok-
I think you are looking for the intValue (on NSString) and
stringValue (on NSNumber) methods.
To go from int to string, use [NSString stringWithFormat:@"%d", anInt]
-- Finlay
_______________________________________________
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