summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-11-23 23:37:24 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-11-23 23:37:24 -0400
commit1921f011898b5e2e689d3ea2e0d1baf4fc8d92e4 (patch)
tree262cd68301d4e4648932ff3001eddacc753e75d2 /src/amount.h
parenta1717b6dd5465f14f53a1c2ff92a32c31d8635c1 (diff)
downloadfork-ledger-1921f011898b5e2e689d3ea2e0d1baf4fc8d92e4.tar.gz
fork-ledger-1921f011898b5e2e689d3ea2e0d1baf4fc8d92e4.tar.bz2
fork-ledger-1921f011898b5e2e689d3ea2e0d1baf4fc8d92e4.zip
Change default precision extension back to 6, rather than rewriting all of the
unit tests. 6 was good enough.
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amount.h b/src/amount.h
index 62a4a74b..0a9038f2 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -104,7 +104,7 @@ public:
* The number of places of precision by which values are extended to
* avoid losing precision during division and multiplication.
*/
- static const unsigned int extend_by_digits = 8U;
+ static const unsigned int extend_by_digits = 6U;
/**
* The current_pool is a static variable indicating which commodity