Re: NSString floatValue issue
Re: NSString floatValue issue
- Subject: Re: NSString floatValue issue
- From: Graham <email@hidden>
- Date: Wed, 27 Feb 2008 09:42:20 +1100
[NSString floatValue] won't evaluate expressions, only convert string
representations of numbers.
I have written a category on NSString that does evaluate expressions
however; you can find it here: http://apptree.net/parser.htm
HTH,
--------
S.O.S.
On 27/02/2008, at 4:55 AM, C Sandeep wrote:
However, I was expecting 5.6 as the result. How do I achieve
this ? Thanks.
- Sandeep
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden