[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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to