• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString floatValue issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSString floatValue issue (From: "C Sandeep" <email@hidden>)

  • Prev by Date: Re: Observing with GC
  • Next by Date: Re: - outlineView:willDisplayCell:forTableColumn:item: and selected item
  • Previous by thread: Re: NSString floatValue issue
  • Next by thread: wiring up core data, bindings, NSArrayController and NSCollectionView
  • Index(es):
    • Date
    • Thread