In some loan accounts of my customers, the last installment repayment amount is decimal, and it's the expected amount. But in the "Transaction history" page of these accounts, the last installment amount is always ceiling. I check the MySQL DB, the "posted_amount" field of "financial_trxn" table is also the wrong amount number. So I don't know why these things happened.
I also checked the last mifos version, 2.6.1, and it's still the same error.
The accounting part of my config file is:
I taked two sceenshots, one is the right repayment schedule, the other one is the "Transaction history" page which include the wrong number.
environment for mifos 2.1.4: ubuntu 10.1, tomcat 6, mysql 5.1
environment for mifos 2.6.1: ubuntu 10.1, jetty 7, mysql 5.1
Done in commit: 93506a5a9db94321d909c151e50717dac21e4107