Comment 6 for bug 198250

Revision history for this message
pvdeynse (vandeynse) wrote :

I have the exact same problem

using gcalctool 5.21.92-0ubuntu1

I'm using:
 Linux version 2.6.24-11-generic (buildd@rothera) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu1)) #1 SMP Fri Feb 29 22:08:31 UTC 2008 (Ubuntu 2.6.24-11.17-generic)

my locale is:

LANG=nl_BE.UTF-8
LC_CTYPE="nl_BE.UTF-8"
LC_NUMERIC="nl_BE.UTF-8"
LC_TIME="nl_BE.UTF-8"
LC_COLLATE="nl_BE.UTF-8"
LC_MONETARY="nl_BE.UTF-8"
LC_MESSAGES="nl_BE.UTF-8"
LC_PAPER="nl_BE.UTF-8"
LC_NAME="nl_BE.UTF-8"
LC_ADDRESS="nl_BE.UTF-8"
LC_TELEPHONE="nl_BE.UTF-8"
LC_MEASUREMENT="nl_BE.UTF-8"
LC_IDENTIFICATION="nl_BE.UTF-8"
LC_ALL=

here is how to reproduce the problem:

in calculator do the following:
          4,0-4,0*10%= 3,6 <=== this is correct
          4,1-4,1*10%= 3669 <=== this is bogus

from now on every decimal calculation will give bogus results e.g.
          4-0,2= 368
          3/4= 0675