• 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: Creating NSDecimal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Creating NSDecimal
      • From: Roland King <email@hidden>
References: 
 >Creating NSDecimal (From: "HAMILTON, Steven" <email@hidden>)
 >Re: Creating NSDecimal (From: Roland King <email@hidden>)

  • Prev by Date: Re: Creating NSDecimal
  • Next by Date: Re: Creating NSDecimal
  • Previous by thread: Re: Creating NSDecimal
  • Next by thread: Re: Creating NSDecimal
  • Index(es):
    • Date
    • Thread