When creating transaction posts through automatic transactions, no
rounding is applied and the full-precision number seems to be applied
to that account. Let me illustrate:
= /Expenses:Bug
Fixes/
Liabilites:Refactoring
0.01
2012/03/09 Automatically Incurring 0.044
Refactoring
Expenses:Bug Fixes
4.40$
Assets:Code
2012/03/09 Automatically Incurring 0.033
Refactoring
Expenses:Bug Fixes
3.30$
Assets:Code
The automatic transaction (1%) should generate a post of $0.04 and one
of $0.03 (which it does!). Then, when adding those posts for balance/
registers, it instead seems to sum up $0.044 and $0.033 (which is
$0.077 and rounds up, instead of rounding down two times):
$ ledger bal liab
0.08$ Liabilities
-------------------------
0.08$
$ ledger reg liab
2012/03/09 Automatically Incu.. Liabilities:Refactoring
0.04$ 0.04$
2012/03/09 Automatically Incu.. Liabilities:Refactoring
0.03$ 0.08$
$ ledger --version
Ledger 2.6.2
Am I using automatic transactions in a wrong way?