[Bug 54247] Javascript doesn't correctly handle decimal calculations
David Stächele
david at daiwai.de
Thu Jul 27 13:57:23 UTC 2006
Public bug reported:
Binary package hint: konqueror
An expression like
Math.round(28.453 * 100.0) / 100.0
evaluates to 28 instead of 28.45.
See http://daiwai.de/test/jsdecimals.html for a test case.
I believe this bug affects maps.google.com for example. When you search
for a location, the map is not correctly scrolled to the position google
found. This is probably due to google using decimal numbers to calculate
the position and the map section to show.
** Affects: kdebase (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Javascript doesn't correctly handle decimal calculations
https://launchpad.net/bugs/54247
More information about the kubuntu-bugs
mailing list