diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-02 02:39:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-02 02:39:31 -0500 |
commit | 094794c640dafaab37a0b227908d8602d29f7daa (patch) | |
tree | 8e439162a8bc0cc60eea27ba1ca647d5683ba8db /src/commodity.cc | |
parent | 0a9cc833adebadc876e3e09f1c344b08b23e59f8 (diff) | |
download | fork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.tar.gz fork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.tar.bz2 fork-ledger-094794c640dafaab37a0b227908d8602d29f7daa.zip |
Added a --european flag, to use commas for decimals
Ledger can often figure this out for itself, but this flag just makes it
the default behavior. It is meant to be added to one's ~/.ledgerrc
file.
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index de529ac4..689cf466 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -38,6 +38,8 @@ namespace ledger { +bool commodity_t::base_t::european_by_default = false; + void commodity_t::base_t::history_t::add_price(commodity_t& source, const datetime_t& date, const amount_t& price, |