I skimmed the list archives but didn't see anything that looked similar.

It seems that the presence of a comma on one transaction changes how
others are parsed. In test1 (below), I get the following output:

2010/11/28 Opening balance      Li:Credit card         EUR-4000,000 EUR-4000,000

whereas test2 shows:

2010/11/28 Opening balance      Li:Credit card             EUR-4000     EUR-4000

Here's how to reproduce the problem, in ledger 2.6.2, from Mac OS X
Ports. Paste the following into a terminal and see.

------------------------
cat > test1.ledger <<EOF
2010/11/28 Opening balance
 Liabilities:Credit card  EUR-4000.00
 Equity:Opening Balances

2010/11/28 Opening balance
 Liabilities:Mortgage  -EUR220,000
 Equity:Opening Balances
EOF

cat > test2.ledger <<EOF
2010/11/28 Opening balance
 Liabilities:Credit card  EUR-4000.00
 Equity:Opening Balances
EOF

ledger -f test1.ledger reg credit
ledger -f test2.ledger reg credit
------------------------

How do I teach ledger that 1,000.01 EUR is  1000 EUR + 1/00 EUR?

Reply via email to