Yup! On the other hand, 1.29-0.71 = 0.58, so while one solution might be to create a transaction with those particular numbers, that method generates too much error for some calculations or combinations of values. That is why the developers are working to use real math whenever possible.
I recently found the hp49g+ calculator that i bought about a decade ago and discovered that it can work either in exact or approximate CAS modes, as they describe them. And it still works! David C On Wed, Jan 9, 2019 at 11:31 AM Fred Bone <fred.b...@dial.pipex.com> wrote: > On Wednesday, January 9, 2019 at 9:44, David Carlson said: > > > Absolutely, I was not expecting agreement with the bank, I just think the > > creation of an unbalanced transaction is bad form. > > There is no reason to expect that taking three rational numbers A, B and > C, such that A=B+C, converting to decimal and rounding to two decimal > places, will never result in imbalance. > > The simplest example I can come up with is 9/7, 5/7 and 4/7 where > 9/7 = 1.285714... -> 1.29 > 5/7 = 0.714285... -> 0.71 > 4/7 = 0.571428... -> 0.57 > with imbalance 0.01 > > > _______________________________________________ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > ----- > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.