[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Invoice Calculation Weirdness in 1.21
- Subject: Invoice Calculation Weirdness in 1.21
- From: Luke <..hidden..>
- Date: Wed, 13 Jul 2011 02:56:29 -0400 (EDT)
I am running LSMB 1.21 for this installation.
I have an invoice with a line item as follows:
Now, that total is wrong. It should be, assuming banker's rounding,
However, it is consistent with the way LSMB usually does discount
It did the same thing with another line item.
Okay, so I know why that is happening, and how to deal with it.
Here's the weird bit.
On the printed version of the invoice, it appears to be doing the correct
precision three math, and is coming to the correct result.
The customer pre-paid based upon my review of the total on screen, which
was 152.26. The total on the page, however, is 152.05.
I didn't look at the line item totals and manually calculate them, until
after I hung up from taking the payment.
Since the customer prepaid, the printed version of the invoice now shows a
balance due, of -0.21.
My question is: why is this happening differently on the two versions of
the invoice? The on screen version, while not the correct method of
handling the math, is the way the program usually does it. The printed
version, while preferable to the customer, and the correct 3-precision
handling, is abnormal.
Can this be reproduced, or is it local to my installation?