Bug 286188 - Amount does not update properly
Summary: Amount does not update properly
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 4.5.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 13:47 UTC by jamadori
Modified: 2011-11-09 18:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jamadori 2011-11-09 13:47:02 UTC
Version:           4.5.3 (using Devel) 
OS:                Linux

When updating the price of of a mutual fund, the resulting amount goes nuts, ie., if I multiply the price by the quantity it gives me an unrelated figure

Reproducible: Always

Steps to Reproduce:
Original quantity = 14,646298, original price 136,63150404 , reuslting amount= 2001,15

Step 1: Update price to 129



Actual Results:  
New amount = 44,7

Expected Results:  
1889,37

OS: Linux (i686) release 3.0.0-12-generic
Compiler: gcc
Comment 1 Thomas Baumgart 2011-11-09 15:02:57 UTC
This is caused by a multiply overflow and has been fixed with the usage of libgmp in KMyMoney >= 4.6.0. Please upgrade to solve the issue.