Hi,
I found the following test case where
- it balances correctly with ledger v2.6.2
- it balances with error with ledger git
I believe there is something around locale decimal separator, as I am
in Europe/France, and decimal separator is a comma "," but not a dot
"."
Thierry
$ cat toto2.ledger
2009/10/01 Achat
Actif:Symphonis Vie:Magellan 0,1302 Magellan @ 1305,680 €
Actif:BNP CC -170,00 €
$ ledger -v
Ledger 2.6.2, the command-line accounting tool
Copyright (c) 2003-2009, John Wiegley. All rights reserved.
This program is made available under the terms of the BSD Public
License.
See LICENSE file included with the distribution for details and
disclaimer.
(modules: gmp, pcre, xml)
$ ledger -f toto2.ledger bal
0,1302 Magellan
-170,00 € Actif
--------------------
0,1302 Magellan
-170,00 €
$ ~/Bureau/ledger/ledger -v
0ms [INFO] Ledger starting
Ledger master-0-ge3c8b91, the command-line accounting tool
Copyright (c) 2003-2009, John Wiegley. All rights reserved.
This program is made available under the terms of the BSD Public
License.
See LICENSE file included with the distribution for details and
disclaimer.
Error: No journal file was specified (please use -f)
3ms [INFO] Ledger ended
$ ~/Bureau/ledger/ledger -f toto2.ledger bal
While parsing file "toto2.ledger", line 3:
While balancing transaction from "toto2.ledger", lines 1-3:
> 2009/10/01 Achat
> Actif:Symphonis Vie:Magellan 0,1302 Magellan @ 1305,680 €
> Actif:BNP CC -170,00 €
Unbalanced remainder is:
169829,54 €
Amount to balance against:
169999,536 €
Error: Transaction does not balance