Fun with roundoff error

Bill Gribble grib@gnumatic.com
Tue, 5 Dec 2000 10:15:37 -0600


On Tue, Dec 05, 2000 at 10:51:18AM -0500, Randolph Fritz wrote:
> 10/16	sale of stock 	$6064.88	--	6064.88
> 10/19   settle		      --  $6064.87	   0.00
> 
> hmmm, 88-87 = 0, right.
> 
> ...and if I try to subtract one cent, I end up with a balance of
> negative one cents.

What version of gnucash are you using?  There are known problems with
rounding in the 1.4.x series that have been corrected by the use of
exact arithmetic in the 1.5.x series.  If you are using a 1.5.x
gnucash, I'd like to see some more information about how you created
this transaction so we can duplicate and correct the bug.

Thanks,
b.g.