A way to calculate discounts when grocery shopping.