Let the cost of 1 book. You may have applied the discount to each book that Angus bought, instead of to the whole purchase. That is, you thought he spent dollars, when he actually spent dollars.