If you are working with small discounts (such as 10%) and you are using rounding, it is possible that the discount is not large enough to reduce the price after rounding.

Example: A product is priced at $6.95 and your discount is 10%. $6.95 × 10% = $6.255, rounded to .95 = $6.95 (no change in price).