All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Another True Story (Posted on 2018-05-22) Difficulty: 2 of 5

I bought some merchandise with a ticket price of $429. However there was a 15% holiday discount, so I actually paid less than that.

The next day, I needed to exchange the merchandise, so I chose other items with a ticket price of $439, and the same discount. Just $10 more, so after the discount I needed to pay an additional $8.50, right?

Wrong. I had to pay an additional $9.

On checking the bill, I was quickly able to confirm that there was no error in the shop's calculation.

What is the explanation?

No Solution Yet Submitted by broll    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution or this could be how | Comment 2 of 3 |
The store can be rounding the discount either up to the next whole dollar or truncated down to the next lower whole dollar.

Either int(discount) or int(discount)+1 gives the $9 difference.

  Posted by Larry on 2020-04-05 10:39:27
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information