Bug 232693

Summary: Krunner-integrated calculator gives wrong results for simple subtraction
Product: [Plasma] krunner Reporter: Guido Winkelmann <guido-kdebugs>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the problem

Description Guido Winkelmann 2010-03-30 14:23:23 UTC
Version:            (using KDE 4.3.5)
Compiler:          gcc-Version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

When using the integrated calculator of krunner, even simple things sometimes yield wrong results, for example, 125.36-102.26= yields 23.099999999999994.

In this case, it's obvious, but I'm afraid in other cases it might not be.
Comment 1 Guido Winkelmann 2010-03-30 14:25:32 UTC
Created attachment 42381 [details]
Screenshot of the problem

I've attached a screenshot that demonstrates the problem.
Comment 2 Dario Andres 2010-03-30 14:55:27 UTC
This is fixed in KDE SC 4.4.x
Regards

*** This bug has been marked as a duplicate of bug 167986 ***