After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104904 - How to exit to 'regular' precision mode?
How to exit to 'regular' precision mode?
Status: RESOLVED DUPLICATE of bug 108226
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2003-01-31 14:22 UTC by Calum Benson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Calum Benson 2003-01-31 14:22:23 UTC
It seems I can only put the calculator into Eng, Fix or Sci modes.  How do
I turn off all these modes and have it just work like a regular calculator
again, i.e. shows as many decimal places as required, no more, no less, and
no 'e' notation? :)
Comment 1 Rich Burridge 2003-01-31 15:05:06 UTC
That's what "Fix" for "Fixed" means. In fixed notation,
the calculator will use an xxx.yyy format unless the number
is too small or too large to be represented, in which case it
will revert to scientific notation. This is the same as the
calculator in OpenWindows DeskSet, CDE, gcalc in the current
GNOME desktop and the calculators in Windows.
Comment 2 Calum Benson 2003-01-31 17:45:46 UTC
I don't think it's the same at all, unless I'm missing something...
Fix mode always shows the same number of decimal places, which isn't
how most real calculators behave unless you explicitly put them into
fixed mode.  

E.g with gcalc, or my pocket calculator, if I type 1.1*2 I get "2.2" -
1 decimal place.  If I type 1.111*3 I get 3.333 - 3 decimal places. 
The number of decimal places shown is purely determined by the result,
not some accuracy value I've had to specify somewhere.
Comment 3 Rich Burridge 2003-01-31 18:35:23 UTC
Okay, I see what you are saying.
Giving the accuracy to "n" numeric places
is needed because internally the arithmetic
in gcalctool is done with a multiple
precision package. It generates lots of
digits after the numeric point. 

The Acc menu is used to allow the user to set
how many they would like to see. The default
number of places is 2.

Changing this behaviour would be hard. 
Comment 4 Rich Burridge 2003-03-14 15:17:03 UTC
Reopening it, to assign it properly.
Comment 5 Rich Burridge 2003-03-14 15:17:35 UTC

*** This bug has been marked as a duplicate of 108226 ***