Skip navigation.
 
mlRe: NSString floatValue issue
FROM : Graham
DATE : Tue Feb 26 23:42:20 2008

[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

Related mailsAuthorDate
mlNSString floatValue issue C Sandeep Feb 26, 18:55
mlRe: NSString floatValue issue Randall Meadows Feb 26, 19:11
mlRe: NSString floatValue issue Jean-Daniel Dupas Feb 26, 19:12
mlRe: NSString floatValue issue Hamish Allan Feb 26, 19:27
mlRe: NSString floatValue issue C Sandeep Feb 26, 21:47
mlRe: NSString floatValue issue j o a r Feb 26, 23:10
mlRe: NSString floatValue issue Graham Feb 26, 23:42