Sometimes the simplest problems are harder than they first seem. A client once specified a requirement to me: we'll give you the VAT-inclusive (20%) price; you need to generate invoices showing the net and VAT amounts. Sounds easy, right? net = round(tot*5/6) vat = round(tot/6)
Yes, this sounds like an accountants' solution. And that's not meant to sound entirely dismissive: a few pennies lost in accounting doesn't indicate the same sort of problem or solution as an off-by-one error in software engineering.
-
-
for sure. I'm actually surprised that the client accountant bothered to fix it. I wonder if they felt compelled to by the way the system had been setup and whether they would have preferred it to be engineered to tolerate discrepancy.
-
I think their checksums were off, and they suspected a bigger problem, so spent a long time trying to find where the discrepancy was...
End of conversation
New conversation -
-
-
but then you have a different problem: your tax rate won't match. Which it often doesn't due to rounding anyway but the rounding rules tend to be strict
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.