GNOME Bugzilla – Bug 516002
incorrect number presentation on gcalctool
Last modified: 2008-04-12 08:06:43 UTC
This report has been entered here: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/189101 "A number like 123456789 have to be presented as 123.456.789, but the program presents 123,456.789 It's a little thing but can create serious problems if that presentation of the number is pasted in an important document. A number like 123456789.012 have to be presented as 123.456.789,012 or 123,456,789.012, but the program presents 123,456.789.012" "HI. i'm using es_AR (i'm from argentina). In my case, if i've tried to print 900,000,000.5, setting the view to "Show Thousands Separator" gcalctool print: 900,000.000.5. Other results are: 1,000 - 1,000.000 - 10,000.000.05 - 900,000.000.000.1" "Good news. This is the right patch of this bug. I have tested it, and works! This patch is applicable into gcalctool 5.20.1 & 5.20.2 because in both packages is the same error. This is my first contribution as a developer in linux world so I am really exited." The patch: http://launchpadlibrarian.net/11879588/gcalctool.patch Thanks!,
Thanks for the bug report (and patch). As this is potentially a significant change (and we haven't heard other similar reports in other locales that use '.' as the thousands separator), then I think it needs to be investigated at the start of the next GNOME release cycle, where it can hopefully be given adequate testing and QA. Therefore we will consider integrating it some time after March this year.
I can confirm this bug. My gcalctool Version is 5.20.2 and my local setings are the following: LANG=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=de_DE.UTF-8 LC_PAPER=de_DE.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=de_DE.UTF-8
This bug is present in other locales too: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/196735
I've merged all the thousands separator bugs into bug 527669 with a recent patch that appears to have fixed most of these problems. Thanks if you took the time to make a patch, I reviewed them but unfortunately none of them fixed all the problems simultaneously. Please test the patch and raise any issues in the new bug. Thank you. *** This bug has been marked as a duplicate of 527669 ***