• 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: How to create an NSDecimal?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create an NSDecimal?


  • Subject: Re: How to create an NSDecimal?
  • From: Ashley Clark <email@hidden>
  • Date: Sat, 14 Mar 2009 15:35:05 -0500

I don't see NSDecimalFromString() in any of the docs or header files, only NSDecimalString() to create strings. Where is that defined?


Ashley


On Mar 14, 2009, at 2:08 PM, Luca Pazzerello wrote:

You can also create NSDecimals using NSDecimalFromString().
--Luca C.

2009/3/14 Ashley Clark <email@hidden>

You can get an NSDecimal structure from any NSNumber or NSDecimalNumber
object by sending it the -decimalValue message. As far as I know that's the
only way to create one.

_______________________________________________

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


  • Follow-Ups:
    • Re: How to create an NSDecimal?
      • From: Keary Suska <email@hidden>
References: 
 >How to create an NSDecimal? (From: WT <email@hidden>)
 >Re: How to create an NSDecimal? (From: Ashley Clark <email@hidden>)
 >Re: How to create an NSDecimal? (From: Luca Pazzerello <email@hidden>)

  • Prev by Date: Re: Performance problem with GC enabled
  • Next by Date: HTTP response using CFHTTPMessageCreateEmpty/CFHTTPMessageAppendBytes
  • Previous by thread: Re: How to create an NSDecimal?
  • Next by thread: Re: How to create an NSDecimal?
  • Index(es):
    • Date
    • Thread