Re: rounding solution?
Re: rounding solution?
- Subject: Re: rounding solution?
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 29 Nov 2003 23:23:21 -0800
On Nov 29, 2003, at 11:00 PM, Jay Rimalrick wrote:
Does anybody know of a way to go from a float to a NSString and back
from a
NSString to a float.
I mean no offense, but this is one of those "RTFM" moments... To turn
an NSString into a float, use -floatValue. To turn a float into an
NSString, use +stringWithFormat:. This is all in the NSString
documentation.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
S/MIME signature available upon request
"That's a funny thing to promise. Well, you can't never let anything
happen to him [Nemo]; then, nothing would ever happen to him." - Dory,
from the movie "Finding Nemo"
_______________________________________________
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.