Dumb typo corrected:

NSDecimalNumber *n1 = (NSDecimalNumber *)[NSDecimalNumber numberWithDouble:1.0];
NSDecimalNumber *n2 = nil;
n1 = [n1 decimalNumberByAdding:n2];

result = EXC_BAD_ACCESS

There seems to be nothing in the docs to suggest that the parameter is unduly sensitive.

On 13 Apr 2009, at 22:00, iseecolors wrote:

In the third line where you do the assignment, do you mean to work with n1, or is there another object somewhere?

Rich

Thanks Rich!

Central Conscious Unit
http://www.mugginsoft.com




_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to