From bf7375db116858f387a5aa90da9d659af6a660d2 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sun, 30 Sep 2012 14:53:05 -0400 Subject: 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. --- test/regress/CAE63F5C-c.test | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/regress/CAE63F5C-c.test (limited to 'test/regress/CAE63F5C-c.test') diff --git a/test/regress/CAE63F5C-c.test b/test/regress/CAE63F5C-c.test new file mode 100644 index 00000000..ae2d7d10 --- /dev/null +++ b/test/regress/CAE63F5C-c.test @@ -0,0 +1,15 @@ +2012/08/22 Payment + Accrued €208.00 {=$1.3109} @ $1.2798689 + Expenses €4.16 {=$1.2798689} @ $1.2798689 + 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 -- cgit v1.2.3