Discounted Order TotalApply a percentage discount to an order.Pre-discount totalDiscount (%)Calculate—Formulatotal*(1-discount/100)