GNOME Bugzilla – Bug 323722
Broken function Ctrm in financial calculator
Last modified: 2006-03-29 20:59:26 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.
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.
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?
Yes indeed. This problem is fixed in CVS HEAD. Closing. Thanks Sami.