Bug 249608

Summary: Calculation in amount field fails
Product: [Applications] kmymoney Reporter: Thomas Baumgart <tbaumgart>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Baumgart 2010-08-31 12:55:53 UTC
Version:           SVN trunk (using KDE 4.3.5) 
OS:                Linux

Using negative numbers during calculation faiils.

Reproducible: Always

Steps to Reproduce:
Create a new transaction, set the focus to the amount field. Enter "-100+33.15" and press return.

Actual Results:  
The result shown is 33.15

Expected Results:  
The result shown is -66,85
Comment 1 Thomas Baumgart 2010-08-31 14:05:49 UTC
SVN commit 1170269 by tbaumgart:

Use QString::remove rather than QString::replace to remove certain character in a string.

BUG: 249608

 M  +4 -4      kmymoneycalculator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1170269
Comment 2 Thomas Baumgart 2010-08-31 14:07:04 UTC
SVN commit 1170270 by tbaumgart:

Use QString::remove rather than QString::replace to remove certain character in a string.

BUG: 249608

 M  +4 -4      kmymoneycalculator.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1170270