[GNC] Bill total does not match real total
Carl Linkletter
carl.linkletter at protonmail.com
Wed Mar 6 15:11:09 EST 2024
Looks like it is related to bug
https://bugs.gnucash.org/show_bug.cgi?id=612957
Carl L.
Peter Carl Linkletter
VMware Consultant and VMware Certified Instructor
Pair-a-Links Consulting Inc.
Swift Current, Saskatchewan, Canada
Email: pairalinks at protonmail.com
Phone: 306-315-3926
Linked-in: https://www.linkedin.com/in/plinkletter/
Sent with Proton Mail secure email.
On Wednesday, March 6th, 2024 at 12:31 PM, Derek Atkins <derek at ihtfp.com> wrote:
> Hi,
>
> On Wed, March 6, 2024 12:20 pm, Carl Linkletter via gnucash-user wrote:
>
> > I am entering a bill. I have 2 entries (65.62 and 374.10). It says that
> > the total is 493.73. I am sorry, but the total should be 439.72. The issue
> > is persistent and appears to be related to the 65.62 number. If I remove
> > it and put another entry in, the total is correct. I have Taxable? and Tax
> > Included both checked.
>
>
> This last part is the key to the issue. It's a rounding error. The issue
> is that each line-item is rounded, but the invoice sums the natural number
> and rounds at the end. So what's happening here is that you have 374.1x
> which rounds to 374.10, and you have 65.6y which rounds to 65.62, but when
> you add x + y you get a sum that rounds up to the next penny.
>
> E.g., 65.624 + 372.104 = 437.728 which rounds to 437.73
>
> > GnuCash 5.5 on Ubuntu 22.04.3
> >
> > Peter Carl Linkletter
> > VMware Consultant and VMware Certified Instructor
>
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
>
>
> -derek
>
> --
> Derek Atkins 617-623-3745
> derek at ihtfp.com www.ihtfp.com
> Computer and Internet Security Consultant
More information about the gnucash-user
mailing list