From 094794c640dafaab37a0b227908d8602d29f7daa Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 2 Nov 2009 02:39:31 -0500 Subject: 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. --- src/commodity.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commodity.cc') 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, -- cgit v1.2.3