Version: (using KDE 4.2.1) OS: Linux Installed from: Ubuntu Packages I type Alt-F2 to start krunner. Then I type my calculation: '=66.02 -25.37' It gives me the following result: '40.64999999999999' Same if I type '66.02 - 25.37 ='
This is also the case in: Version: (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages
This is a expected rounding error, due the hardware representation of real numbers. The result is the same in the python interpreter, for example. This report can be closed, I think. A more sophisticated calculator engine can be requested by a wish.
*** This bug has been marked as a duplicate of bug 167986 ***
Fábio, rounding errors are for divisions. This is a substraction and no rounding is necessary. This is a bug, and a big one, as can be seen in the examples in https://bugs.kde.org/show_bug.cgi?id=167986 (the original bug of which mine is a duplicate).