GNOME Bugzilla – Bug 120940
automatic decimal point & calculations fail
Last modified: 2018-06-29 20:36:38 UTC
Quote http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203789 Package: gnucash Version: 1.8.4-2 Hi, I have selected to insert the comma afer 2 places. If I type in in the general ledger a amount of 20.44/2, it generates 1,022.00 instead of 10.22. It looks like gnucash calculates with the amount without the decimals and appends then the decimals. Jörg. (Reported by joerg@alea.gnuu.de) Confirmed with 1.8.5
Confirmed bug still present in 1.9.2. To reproduce you must select Prefs->General->"Automatic decimal point"
Confirmed bug still present in 2.2.6.
Confirmed bug still present in 2.3.14 SVN r19303 nightly 26-Jun-2010.
reproducible in 2.4.10
reproducible in master. Also, the multiplication does not work correctly. For example, 100*3 gives 0,03 If one disables Prefs->General->"Automatic decimal point" everything works as expected.
This problem occurs in version 2.6.9 also Examples: 20*2800 gives 5.60, and correct is 560.00
After some discussion, see thread https://lists.gnucash.org/pipermail/gnucash-devel/2017-July/040870.html we came to the result, the current behavior is intended. It is the same as on the old fashioned adding machine. @Ivo: You enter 20*2800. That expands to 0.20 * 28.00 and then is correctly calutated to 5.60 @Michalis: Entered: 100*3 Expanded: 1.00 * 0.03 = 0.03 So we updated Help_ch_Customize in commit fe1d819 to make it more clear. This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=120940. Please update any external references or bookmarks.