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

Re: NSDecimalRound


  • Subject: Re: NSDecimalRound
  • From: Dave Rosborough <email@hidden>
  • Date: Sun, 30 Nov 2003 01:16:36 -0800

however I am not sure how you actually get NSDecimal data types.

Read the docs...

file:///Developer/Documentation/Cocoa/Conceptual/NumbersandValues/ index.html

NSDecimal is the C interface, whereas it's probably better to use NSDecimalNumber, which is a subclass of NSNumber. It also has a method called decimalNumberByRoundingAccordingToBehavior:, which will probably make you happy.

TTYL
DaveR
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSDecimalRound (From: "Jay Rimalrick" <email@hidden>)

  • Prev by Date: Re: NSDecimalRound
  • Next by Date: Re: NSEPSImageRep to NSBitmapImageRep to GWorld problems
  • Previous by thread: Re: NSDecimalRound
  • Next by thread: Re: NSDecimalRound
  • Index(es):
    • Date
    • Thread