GnuCash can't add?

Derek Atkins warlord at MIT.EDU
Thu Oct 28 11:18:08 EDT 2010


Hi,

Nicholas Sherlock <n.sherlock at gmail.com> writes:

> Hi everyone,
>
> What could cause this problem? Is it a rounding bug?
>
> http://img199.imageshack.us/img199/7798/gnucash.png
>
> (GnuCash has added an "imbalance" of 0.01 to the debit side for me,
> but that causes the debit column to add to 11.26, and the other column
> to add to 11.25).
>
> This transaction involves multiple currencies. The "PayPal account" is
> in USD and I am editing the transaction from the "PayPal account"
> page, every other account involved is in NZD. I have set an exchange
> rate of "1 + 472/1057" from USD to NZD.

Yes, this looks like a rounding error.  Or, more accurately, it's a
cumulative rounding error.  Each split gets rounded individually to .01
which can accumulate rounding errors that eventually reach your .01 error.

> Cheers,
> Nicholas Sherlock

> 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, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-user mailing list