Imbalance

Derek Atkins warlord at MIT.EDU
Mon Oct 15 15:31:44 EDT 2007


Quoting Chris Carton <ctcarton at gmail.com>:

> I've got a scheduled transaction that uses the pmt() function to debit one
> account and then the ppmt() and ipmt() functions to credit two separate
> accounts.  After half a dozen or so payments it started to create a $0.01
> imbalance on each transaction.  Is this a known bug?  Using ver. 2.2.1.

My first guess would be a rounding issue, where the pmt() and ppmt()/ipmt()
functions wind up rounding "differently" and as a result they differ by
one cent.  I'm afraid I don't have a good solution for you, just an
idea about the problem.

> 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