Click here to Skip to main content
15,887,485 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Reading a quotation... Pin
OriginalGriff2-Jun-20 4:43
mveOriginalGriff2-Jun-20 4:43 
GeneralRe: Reading a quotation... Pin
Sander Rossel2-Jun-20 5:35
professionalSander Rossel2-Jun-20 5:35 
GeneralRe: Reading a quotation... Pin
David O'Neil2-Jun-20 7:24
professionalDavid O'Neil2-Jun-20 7:24 
GeneralOT Pin
ZurdoDev3-Jun-20 6:56
professionalZurdoDev3-Jun-20 6:56 
GeneralRe: OT Pin
Sander Rossel3-Jun-20 7:53
professionalSander Rossel3-Jun-20 7:53 
GeneralRe: OT Pin
ZurdoDev3-Jun-20 7:56
professionalZurdoDev3-Jun-20 7:56 
GeneralRe: Reading a quotation... Pin
Jacquers2-Jun-20 3:54
Jacquers2-Jun-20 3:54 
GeneralRe: Reading a quotation... Pin
Sander Rossel2-Jun-20 4:12
professionalSander Rossel2-Jun-20 4:12 
I've actually had a customer who wanted VAT on invoices calculated per product, which was completely irrelevant, instead of over the complete invoice.
The problem is, you're going to round VAT to two decimals, because no one ever pays €0.001.
So by adding up all the VATs for each product we got rounding errors (and those rounding errors added up!).
If you calculated the VAT over the entire invoice (like EVERYBODY in that business does) it wouldn't add up.
But for some reason they really wanted to have the VAT per product.
We went as far as to round to 16 decimal places, but we still ended up with rounding errors Laugh | :laugh:

Ultimately, we actually went for "as correct as possible with x decimal places."
In this case "correct" was of course VAT over the entire invoice because that was the only legal kind of VAT Laugh | :laugh:

GeneralRe: Reading a quotation... Pin
Jacquers2-Jun-20 4:22
Jacquers2-Jun-20 4:22 
GeneralRe: Reading a quotation... Pin
fd97502-Jun-20 5:16
professionalfd97502-Jun-20 5:16 
GeneralRe: Reading a quotation... Pin
Sander Rossel2-Jun-20 5:29
professionalSander Rossel2-Jun-20 5:29 
GeneralRe: Reading a quotation... Pin
James Lonero4-Jun-20 7:16
James Lonero4-Jun-20 7:16 
GeneralRe: Reading a quotation... Pin
Richard Deeming2-Jun-20 4:26
mveRichard Deeming2-Jun-20 4:26 
GeneralRe: Reading a quotation... Pin
GuyThiebaut2-Jun-20 4:41
professionalGuyThiebaut2-Jun-20 4:41 
GeneralRe: Reading a quotation... Pin
OriginalGriff2-Jun-20 4:46
mveOriginalGriff2-Jun-20 4:46 
GeneralRe: Reading a quotation... Pin
Daniel Pfeffer2-Jun-20 5:02
professionalDaniel Pfeffer2-Jun-20 5:02 
GeneralRe: Reading a quotation... Pin
User 110609792-Jun-20 6:02
User 110609792-Jun-20 6:02 
GeneralRe: Reading a quotation... Pin
Sander Rossel2-Jun-20 21:55
professionalSander Rossel2-Jun-20 21:55 
GeneralRe: Reading a quotation... Pin
Navanax4-Jun-20 19:35
Navanax4-Jun-20 19:35 
GeneralRe: Reading a quotation... Pin
Sander Rossel5-Jun-20 0:46
professionalSander Rossel5-Jun-20 0:46 
GeneralRe: Reading a quotation... Pin
ZurdoDev2-Jun-20 4:27
professionalZurdoDev2-Jun-20 4:27 
GeneralRe: Reading a quotation... Pin
Slacker0072-Jun-20 5:55
professionalSlacker0072-Jun-20 5:55 
GeneralRe: Reading a quotation... Pin
ZurdoDev2-Jun-20 6:40
professionalZurdoDev2-Jun-20 6:40 
GeneralRe: Reading a quotation... Pin
Jacquers2-Jun-20 4:57
Jacquers2-Jun-20 4:57 
GeneralRe: Reading a quotation... Pin
kalberts2-Jun-20 6:35
kalberts2-Jun-20 6:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.