Bug 232693 - Krunner-integrated calculator gives wrong results for simple subtraction
Summary: Krunner-integrated calculator gives wrong results for simple subtraction
Status: RESOLVED DUPLICATE of bug 167986
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 14:23 UTC by Guido Winkelmann
Modified: 2010-03-30 14:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of the problem (43.39 KB, image/png)
2010-03-30 14:25 UTC, Guido Winkelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***