diff options
author | Bradley M. Kuhn <bkuhn@ebb.org> | 2012-09-30 14:53:05 -0400 |
---|---|---|
committer | Bradley M. Kuhn <bkuhn@ebb.org> | 2012-09-30 14:53:05 -0400 |
commit | bf7375db116858f387a5aa90da9d659af6a660d2 (patch) | |
tree | 488b628c417eed0e7f57f8bf6d11fe4b933eaf7f /test/regress/CAE63F5C-b.test | |
parent | e56a4ffef07d9731fd6e48ab468fc4780d45945b (diff) | |
download | fork-ledger-bf7375db116858f387a5aa90da9d659af6a660d2.tar.gz fork-ledger-bf7375db116858f387a5aa90da9d659af6a660d2.tar.bz2 fork-ledger-bf7375db116858f387a5aa90da9d659af6a660d2.zip |
Rounding is different for balance totals vs. postings when using posting costs.
test/regress/CAE63F5C-b.test and test/regress/CAE63F5C-c.test should both
pass, but test/regress/CAE63F5C-c.test does not, because the total line of
$6.46 is rounded wrong; it should be $6.45.
There seems to be different rounding occurring for totals vs. postings.
This seems to be related to Bug #492.
Diffstat (limited to 'test/regress/CAE63F5C-b.test')
-rw-r--r-- | test/regress/CAE63F5C-b.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/CAE63F5C-b.test b/test/regress/CAE63F5C-b.test new file mode 100644 index 00000000..c0b7efd8 --- /dev/null +++ b/test/regress/CAE63F5C-b.test @@ -0,0 +1,15 @@ +2012/08/22 Payment + Accrued €208.00 {=$1.3109} @ $1.2799 + Expenses €4.16 {=$1.2798689} @ $1.2799 + Assets $-271.54 + Income:Currency Conversion $-6.45 + +test bal -X $ + $272.67 Accrued + $-271.54 Assets + $6.45 Equity:Capital Gains + $5.32 Expenses + $-6.45 Income:Currency Conversion +-------------------- + $6.45 +end test |