Changeset - e419881701f1
[Not reviewed]
0 1 0
tripun - 7 years ago 2014-07-01 19:17:05
tripun@gmail.com
improved basic precision test
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rounding/bug_reports/dir-commodity-precision.test
Show inline comments
 
D 1000.00 EUR
 
D 1000.000 EUR
 
commodity EUR
 
  precision 2
 
  default
 

	
 
2012-01-01 *
 
   A                        1 AAA @@ 10.00 EUR
 
   A                        1 BBB @@ 20.00 EUR
 
   C
 

	
 
P 2012-07-01 AAA 10.123 EUR
 
P 2012-07-01 BBB 20.123 EUR 
 

	
 
test -V bal
 
           30.24 EUR  A
 
          -30.00 EUR  C
 
          30.240 EUR  A
 
         -30.000 EUR  C
 
--------------------
 
            0.24 EUR
 
           0.240 EUR
 
end test
0 comments (0 inline, 0 general)