Re: Creating NSDecimal
Re: Creating NSDecimal
- Subject: Re: Creating NSDecimal
- From: Roland King <email@hidden>
- Date: Fri, 31 Oct 2008 14:28:48 +0800
Graham Cox wrote:
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."
I did note it, see my message, it says "and they are private"
_______________________________________________
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