iOS Discount Calculator