diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-21 01:43:50 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-21 01:43:50 -0400 |
commit | 06ac87ab208210bef6a30cf71e116847080d2383 (patch) | |
tree | 4b9a20ad43a8723a3ab5f880f06e63c8611d669a /valexpr.cc | |
parent | ec7f071bdd529e372fe9b8d123cebadf74e76e29 (diff) | |
download | fork-ledger-06ac87ab208210bef6a30cf71e116847080d2383.tar.gz fork-ledger-06ac87ab208210bef6a30cf71e116847080d2383.tar.bz2 fork-ledger-06ac87ab208210bef6a30cf71e116847080d2383.zip |
support arbitrary precision after the decimal point; increase speed 0-10%
Diffstat (limited to 'valexpr.cc')
-rw-r--r-- | valexpr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ void value_expr_t::compute(value_t& result, const details_t& details, case DEPTH: if (details.account) - result = (unsigned int) (details.account->depth - 1); + result = (unsigned int) details.account->depth; else result = 0U; break; |