Re: Converting a string to a number
Re: Converting a string to a number
- Subject: Re: Converting a string to a number
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 23 Mar 2004 17:09:52 -0700
On Mar 23, 2004, at 4:10 PM, Joe Lertola wrote:
If I have a NSString that contains a number how can I convert it into
a real number. For example if I have a NSString = "123.456 is my
number", how can I get the value 123.456 into a float?
No offense, but I must call "RTFM" on this one:
<
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSString.html#//apple_ref/doc/uid/20000154/
doubleValue>
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.