"Show thousands separator" adds wrong separator

Bug #196735 reported by Kenneth Mokkelbost
6
Affects Status Importance Assigned to Milestone
gcalctool (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gcalctool

Using gcalctool 5.21.92 on I experienced the following:

1) I inputted the following calculation: 60*60*24*365 and got 31536000
2) Selected "Show thousands separator" and got 31,,536.000., while I expected 31.536.000

And while "Show thousands separator" was selected i inputted the calculation again and it show up as 60*,60*.24*.365 while I expected it to show the normal 60*60*24*365 (without separators).

I use Norwegian locale on Ubuntu 8.04 upgraded from 7.10 and up to date as of 27 Feb.

ProblemType: Bug
Architecture: i386
Date: Thu Feb 28 21:31:27 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gcalctool
NonfreeKernelModules: fglrx
Package: gcalctool 5.21.92-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:en_GB:en
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=nb_NO.UTF-8
 SHELL=/bin/bash
SourcePackage: gcalctool
Uname: Linux 2.6.24-10-generic i686

Tags: apport-bug
Revision history for this message
Kenneth Mokkelbost (kmokk) wrote :
Revision history for this message
David Futcher (bobbo) wrote :

I dont get the same result but i get "31,5,3,60,,000". I tried it with several other numbers and got "774,724,672,473,257,357" and "5,49,,450". There is definately something weird happening here.

Revision history for this message
Jim J (morlockhq) wrote :

It looks like the general report of the problem may be confirmed.

Changed in gcalctool:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.