Many companies will offer a stackable discount, which means that they offer an additional percentage off of a product where a discount is already being offered. If this is the case, you can use the formulas above and iterate through them again to apply the additional percentage off.