Re: How to create an NSDecimal?
Re: How to create an NSDecimal?
- Subject: Re: How to create an NSDecimal?
- From: Keary Suska <email@hidden>
- Date: Sat, 14 Mar 2009 16:55:26 -0600
On Mar 14, 2009, at 2:35 PM, Ashley Clark wrote:
I don't see NSDecimalFromString() in any of the docs or header
files, only NSDecimalString() to create strings. Where is that
defined?
It's part of Foundation, defined in NSDecimal.h.
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.
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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