ExclusivePrice, quantity are both NSDecimalNumbers.
NSDecimalNumber *price = [exclusivePrice decimalNumberByMultiplyingBy:quantity];
NSLog(@\"%@ * %@ = %@\"
Seems to work for me.
NSDecimalNumber * n1 = [NSDecimalNumber decimalNumberWithString:@"65"];
NSDecimalNumber * n2 = [NSDecimalNumber decimalNumberWithString:@"2"];
NSDecimalNumber * res = [n1 decimalNumberByMultiplyingBy:n2];
NSLog(@"%@ * %@ = %@", n1, n2, res);
Output:
2010-04-05 08:40:42.812 x[24301] 65 * 2 = 130