From 7901598f1d1e419e19c860e81749805371298030 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 27 Feb 2006 23:52:31 +0000 Subject: Checked in all major updates. --- balance.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'balance.h') diff --git a/balance.h b/balance.h index 8a6e4a35..929888d2 100644 --- a/balance.h +++ b/balance.h @@ -426,6 +426,7 @@ class balance_t amount_t amount(const commodity_t& commodity) const; balance_t value(const std::time_t moment) const; + balance_t factor_price() const; void write(std::ostream& out, const int first_width, @@ -443,7 +444,7 @@ class balance_t i != amounts.end(); i++) if ((*i).second.commodity()) - (*i).second = (*i).second.round((*i).second.commodity().precision); + (*i).second = (*i).second.round((*i).second.commodity().precision()); } }; -- cgit v1.2.3