NSDecimalRound
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.