GNOME Bugzilla – Bug 124377
rounding problems if decimal separator is a comma
Last modified: 2004-12-22 21:47:04 UTC
LANG=en_US gcalctool -> everything is okay, e.g. 1.1+2.2=3.3 LANG=hu_HU gcalctool -> 1,1+2,2=3,2999999 (when I type 1,1 and press the plus sign, it becomes 1,0999999) This happens with gcalctool 4.3.15. 4.3.3 was okay.
Problem replicated. Investigating...
Created attachment 20675 [details] Fix for problem.
I believe I've found and fixed the problem. The diff is attached below. I've also checked the fix into CVS HEAD. Fixed in v4.3.16. Egmont, if you get a chance today (13th Oct) to try this out and confirm that this does indeed fix the problem for you, then I will generate a new tarball that can be used for the GNOME 2.4.1 release that they are building tonight. If I don't hear from you today that it's fixed for you, I will tell the release team to use gcalctool v4.3.3 (the previous tarball). Thanks.
The patch is OK for me. Thanks!
Great, thanks. I've just gone ahead and released gcalctool v4.3.16, so hopefully it'll get picked up for GNOME 2.4.1.