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 323722 - Broken function Ctrm in financial calculator
Broken function Ctrm in financial calculator
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.6.x
Other All
: Normal normal
: ---
Assigned To: Sami Pietilä
Sami Pietilä
Depends on:
Blocks:
 
 
Reported: 2005-12-10 14:02 UTC by ggv
Modified: 2006-03-29 20:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description ggv 2005-12-10 14:02:23 UTC
Please describe the problem:
Just follow the instructions in the help page in Table 5, Performing Financial
Calculations/Compounding Term. It will return

Error message: Malformed expression

Steps to reproduce:
1. Register 0: 0.0075
2. Register 1: 16000
3. Register 2: 8000
4. Click Clr
5. Click Ctrm
6. Click =

Actual results:
Error message: Malformed expression

Expected results:
Should displaY THE RESULT: 92.77

Does this happen every time?
Yes

Other information:
The documentation is also incomplete in the step by step examples.  For
instance, your have to click = after clicking the financial functions.
Comment 1 Rich Burridge 2005-12-12 15:42:58 UTC
I see the same thing. Reassigning to Sami for further investigation, 
as he wrote the arithmetic operator precedence code. 

Note that this operation works fine (without the need for the
final "=") in non-arithmetic operator precedence mode.

The documentation for gcalctool is written for non-arithmetic operator
precedence mode. Unfortunately the person working on it was RIF'ed 
(terminated) before she had a chance to update the Help files accordingly.
I've added an entry to bug #309210 to make sure that this issue
isn't forgotten when there is somebody available to fixup the
gcalctool documentation.
Comment 2 Sami Pietilä 2006-03-29 17:31:34 UTC
I am able to reproduce this problem with gcalctool 5.6.31. However, I am not able to reproduce the problem with CVS HEAD version.

Rich, can you try if you are able to reproduce this problem with CVS HEAD version?
Comment 3 Rich Burridge 2006-03-29 20:59:26 UTC
Yes indeed. This problem is fixed in CVS HEAD. Closing.
Thanks Sami.