Re: Creating NSDecimal
Re: Creating NSDecimal
- Subject: Re: Creating NSDecimal
- From: Graham Cox <email@hidden>
- Date: Fri, 31 Oct 2008 17:27:27 +1100
On 31 Oct 2008, at 5:21 pm, Roland King wrote:
I suppose you could try to make one directly by doing
NSDecimal myDec;
then setting myDec._exponent and myDec._mantissa[], if you can
figure out how it stores its mantissa but that seems to be more work
and they are private so you'd be opening yourself up to apple
changing the whole thing later.
Note the docs:
"Discussion
The fields of NSDecimal are private."
--Graham
_______________________________________________
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