Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want a simple real life example (unconnected to the way numbers are stored) here it is (accounting may have quirks that arrive unexpected).

In EU prices to customers are required to be comprehensive of VAT, so a price is € 60,00 included VAT 10%.

But in an invoice/receipt you have to explicit how much is the net and how much is the tax, so 60 / 1.10 = 54.55 and VAT is 54.55 x 0.10 = 5.46 which makes a nice 60.01.

You may be tempted to round down the 60 / 1.10 = 54.54 and have VAT 54.54 x 0.10 = 5.45 but this makes 59.99.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: