Calculate discounts, selling prices, and profit margins
Margin = (Selling Price - Cost) / Selling Price × 100
Markup = (Selling Price - Cost) / Cost × 100