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
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 mails | Author | Date |
|---|---|---|
| C Sandeep | Feb 26, 18:55 | |
| Randall Meadows | Feb 26, 19:11 | |
| Jean-Daniel Dupas | Feb 26, 19:12 | |
| Hamish Allan | Feb 26, 19:27 | |
| C Sandeep | Feb 26, 21:47 | |
| j o a r | Feb 26, 23:10 | |
| Graham | Feb 26, 23:42 |






Cocoa mail archive

