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 367754 - [doc] Update documentation for % operator.
[doc] Update documentation for % operator.
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: docs
5.9.x
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2006-10-30 16:34 UTC by Rich Burridge
Modified: 2006-11-27 17:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Patch to fix the problem. (1.26 KB, patch)
2006-11-27 17:42 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-10-30 16:34:40 UTC
The operation of % operator has changed. It's now same as dividing 
the number by 100 (= one percent of the original number).

---

Example: non-arithmetic precedence mode

5
%
Display now shows 0.05

---

Example: arithmetic precedence mode

Calculating expression "5%" yields 0.05.
Comment 1 Joachim Noreiko 2006-11-02 16:25:49 UTC
The examples are currently only for "classic" calculator mode (non-arithmetic precedence mode).

Calculating expression "5%" yields an error.
Comment 2 Joachim Noreiko 2006-11-02 16:33:39 UTC
Nope, got it wrong again.
My version is 5.7. I'll have to leave this until I upgrade.
Comment 3 Rich Burridge 2006-11-02 16:46:24 UTC
Let's put the bug back into a New state while you get your house in order...
Comment 4 Rich Burridge 2006-11-27 17:42:07 UTC
Created attachment 77229 [details] [review]
Patch to fix the problem.
Comment 5 Rich Burridge 2006-11-27 17:42:59 UTC
Change checked into CVS HEAD. Closing as FIXED. I'll generate a new
gcalctool tarball for GNOME 2.17.3 in about a weeks time.