[GNC] Rounding & formulas
Michael or Penny Novack
stepbystepfarm at comcast.net
Tue Dec 22 18:52:44 EST 2020
On 12/22/2020 5:17 PM, Liz wrote:
> I think that we have taken a peek down a rabbit hole and found
> enormous complexity past the entrance.
>
> Liz
For us pros it gets far worse than that. In my working days often had to
compute the "fuzz" value to use in comparisons because of "rounding
errors" when the two amounts being compared came from different
calculations. The "fuzz" is the maximum amount of difference that could
have caused. So you can't test for "equal" but need to test for equal
+/- fuzz.
Michael D Novack
More information about the gnucash-user
mailing list