diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-27 13:58:30 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-27 13:58:30 -0400 |
commit | f7f07310f4c6b717dcc276b4a14b3fbfbaebdf27 (patch) | |
tree | 0ea2f16087e232d69052b53a0a176d3818af3fe8 /test/unit/t_commodity.cc | |
parent | 5e6c95e348bc85525c841a56d7467d39d8ee2ace (diff) | |
download | fork-ledger-f7f07310f4c6b717dcc276b4a14b3fbfbaebdf27.tar.gz fork-ledger-f7f07310f4c6b717dcc276b4a14b3fbfbaebdf27.tar.bz2 fork-ledger-f7f07310f4c6b717dcc276b4a14b3fbfbaebdf27.zip |
Be smarter about trimming off trailing zeroes
Diffstat (limited to 'test/unit/t_commodity.cc')
-rw-r--r-- | test/unit/t_commodity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/t_commodity.cc b/test/unit/t_commodity.cc index ad5e91b4..c546c750 100644 --- a/test/unit/t_commodity.cc +++ b/test/unit/t_commodity.cc @@ -78,7 +78,7 @@ void CommodityTestCase::testPriceHistory() #ifdef INTEGER_MATH assertEqual(string("$2124.12"), amt->to_fullstring()); #else - assertEqual(string("$2124.1220"), amt->to_fullstring()); + assertEqual(string("$2124.122"), amt->to_fullstring()); #endif amt = x1.value(false, CURRENT_TIME(), euro); |