With the file below, ledger writes EUR-10.2 instead of the expected
-10.20 EUR.  I can get the result I expect either by commenting out
the first line (i.e. specifying the format) or by commententing out
the first posting.

But why cannot ledger figure out the format automatically?  After all,
I wrote "@ 10.20 EUR".  Why does ledger not use the format I specified
after @?

Example:

;D 1.000 EUR

;2007/08/20 Bank transfer
;    Assets:Broker:Current            0.00 EUR
;    Assets:Bank:Current

2010-01-01 Buy AAPL
    Assets:Fund                         1 TEST @ 10.20 EUR
    Assets:Broker:Current

-- 
Martin Michlmayr
http://www.cyrius.com/

To unsubscribe from this group, send email to 
ledger-cli+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to