GnuCash
Contact   Instructions
Bug 330930 - Financial Calculator resets payment period to zero if automatic decimal places used
Summary: Financial Calculator resets payment period to zero if automatic decimal place...
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: General (show other bugs)
Version: git-master
Hardware: Other Linux
: Normal normal
Target Milestone: ---
Assignee: general
QA Contact: Chris Lyttle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 17:36 EST by Neil Williams
Modified: 2020-11-28 06:17 EST (History)
5 users (show)

See Also:


Attachments

Description Neil Williams 2006-02-12 17:36:32 EST
This was found in svn r13117 and has been reproduced in svn r13238. 

Bug details: Using the automatic decimal places option raises an error in the calculator unless a decimal point is put in!

To reproduce: 
1. Edit -> Preferences -> General, set automatic decimal places to ON.
2. Start the Financial Calculator from the Tools menu.
3. Click 'Clear' for Payment periods and Future value.
4. Enter the number of payments as '12'
5. Click Calculate.
6. Payment periods is reset to 0.00
7. An error message dialogue appears because the number of payments cannot be zero. (!)

The calculator works fine without automatic decimal places or if the number is
entered as '12.' when automatic decimal places is enabled, but that's not what
a user would expect from enabling automatic decimal places!
Comment 1 Phil Longstaff 2009-04-28 17:22:31 EDT
Verified on trunk r18057
Comment 2 Bob 2020-11-28 06:17:09 EST
I have pushed a fix for this and will be in version 4.3.

Note You need to log in before you can comment on or make changes to this bug.