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

NSDecimalRound


  • Subject: NSDecimalRound
  • From: "Jay Rimalrick" <email@hidden>
  • Date: Sun, 30 Nov 2003 03:29:14 -0500

here is a function that looks like it will do the job for me

void NSDecimalRound(NSDecimal* result, const NSDecimal* number, int scale,
NSRoundingMode mode);


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

I tried

NSDecimal* myDecimal = [[NSDecimal alloc] init];

and i get the error "NSDecimal is not an objective-c class"

how am i to use the function if NSDecimal is not a class?

thanks in advance




________________________________________________________________
Sent via the WebMail system at 1st.net
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSDecimalRound
      • From: Jonathan Jackel <email@hidden>
    • Re: NSDecimalRound
      • From: Dave Rosborough <email@hidden>
    • Re: NSDecimalRound
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: rounding solution?
  • Next by Date: Re: NSDecimalRound
  • Previous by thread: Re: rounding solution?
  • Next by thread: Re: NSDecimalRound
  • Index(es):
    • Date
    • Thread