[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 51684] Math constant rounding error
From:       Simon Ejsing <simon () esoft ! dk>
Date:       2003-05-21 11:26:54
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=51684     




------- Additional Comments From simon@esoft.dk  2003-05-21 13:26 -------
My point in doing this, is because I want to limit the decimal count to one. 
 
The correct output would be 76.6 as Mozilla shows it. MS IE gives the same result, 
however Konqueror produces 76.59999999999999, obviously because it does not 
convert from float to int by either Math.floor or Math.round... 
 
I believe it is a bug that neither floor nor round converts to integers.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic