Man the simplest stuff always seems so crazy in Objective-C to me, anyways I need to do some basic subtraction and multiplication and am stumped.
I have:
client.PricingDiscount <-- this is an Integer 16 property on a CoreData NSManagedObject
sku.RetailPrice <-- this is a Decimal property on a CoreData NSManagedObject
I am simply trying to get a NSDecimalNumber to display like so:
NSDecimalNumber *showPrice = sku.RetailPrice * (100 - client.PricingDiscount);
I have tried a bunch of different forms of this and cannot figure out what the hell I am doing wrong here.