Odd arithmetic in ledger

Jack ostroffjh at users.sourceforge.net
Mon Sep 30 21:33:21 BST 2019

Helolo Thomas,

On 2019.09.30 15:02, Thomas Baumgart wrote:
> On Freitag, 27. September 2019 18:54:31 CEST Jack wrote:
>> During my last reconciliation, I just couldn't get things to match  
>> completely, and I finally found the problem.  I have two deposit  
>> transactions in a row, where the first one seems to add one cent too  
>> much to the balance, and the next one adds one cent too little.  If  
>> the first of them wasn't the last transaction in the problem  
>> reconciliation, I probably never would have noticed.  These are in a  
>> brokerage account: the first is an interest transaction, so there is  
>> no rounding done at all.  The second is a dividend transaction, so  
>> there is also no rounding done.  I'm attaching a screen shot, just  
>> to show I'm not making this up (for a while, I thought I might be.)   
>> Can anyone think of any possible reason for this behavior?  All  
>> accounts involved are in US dollars only, so there is not currency  
>> conversion going on.
> Can you try to find the transactions in your XML file and figure out  
> what is going on or send them to me via PM? Seems that they carry the  
> information needed.
   <TRANSACTION memo="" postdate="2019-07-31" commodity="USD"  
entrydate="2019-08-06" id="T000000000000018575">
     <SPLIT memo="" bankid="" action="" value="1171/100"  
reconcileflag="2" payee="P000439" price="1/1"  
reconciledate="2019-07-31" shares="1171/100" account="A000263"  
id="S0001" number=""/>
     <SPLIT memo="" bankid="" action="" value="-1171/100"  
reconcileflag="0" payee="P000439" price="1/1" reconciledate=""  
shares="-1171/100" account="A000176" id="S0002" number=""/>

   <TRANSACTION memo="" postdate="2019-08-01" commodity="USD"  
entrydate="2019-08-04" id="T000000000000018588">
     <SPLIT memo="" bankid="" action="" value="5222/25"  
reconcileflag="2" payee="" price="1/1" reconciledate="2019-08-30"  
shares="5222/25" account="A000263" id="S0001" number=""/>
     <SPLIT memo="" bankid="" action="" value="-5222/25"  
reconcileflag="0" payee="" price="1/1" reconciledate=""  
shares="-5222/25" account="A000175" id="S0002" number=""/>
     <SPLIT memo="" bankid="" action="Dividend" value="0/1"  
reconcileflag="2" payee="" price="1/1" reconciledate="" shares="0/1"  
account="A000696" id="S0003" number=""/>

I've only removed the memos.
A000263 is the brokerage account in question
A000176 is the interest category
A000175 is the dividends category
A000696 is the account for the equity paying the dividend

I don't see anything that would introduce any rounding issues.

Anything else I can check or look for?



More information about the KMyMoney-devel mailing list