NSDecimalNumber subtraction
- by happyCoding25
Hello,
I need to subtract 0.5 from number a and set the answer to number b. My code looks like it would work but I'm not sure what I'm doing wrong. The error I get Is on the subtraction line, the error says incompatible type for argument 1 of 'decimalNumberBySubtracting:'.
Heres my header: (Note: I only showed the numbers because the header is…