On Jun 20, 2008, at 3:26 PM, Michael Swan wrote:
The documentation says that decimalNumberWithDecimal: takes an
NSDecimalNumber as its argument and tmpValueA is an NSDecimalNumber
unless I am missing something.
The documentation says:
+ (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)decimal
I.e., it take an NSDecimal structure, not a pointer to an
NSDecimalNumber.
Since NSDecimalNumber is an immutable value, your code can just do:
tmpValueC = tmpValueA;
Glenn Andreas [EMAIL PROTECTED]
The most merciful thing in the world ... is the inability of the human
mind to correlate all its contents - HPL
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]