Calculating the cost of discount points