https://bugs.kde.org/show_bug.cgi?id=167986
m'r <meta...@yahoo.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meta...@yahoo.de --- Comment #44 from m'r <meta...@yahoo.de> --- It is not completely fixed: 100.1 - 100 = 0.099999999999994 The problem is that Math.log(Math.abs(0.099999999999994))/Math.log(10) is less than -1 and so the result with 14 significant digits is rounded to 15 digits :-( A simple fix could enclose it in Math.max(0,Math.floor(…)) but then: (100.1-100)*10=0.9999999999999 (100.01-100)*100=1.0000000000005 etc. I think, there is no easy solution using Javascript (but I am not a programmer). I would suggest to use another method to calculate the result; maybe make the qalculator default (and add a dependency on its lib) as it seems, that it handles this cases correct? -- You are receiving this mail because: You are watching all bug changes.