[Webkit-unassigned] [Bug 80009] Setting '0.6' to the value of a range input makes the value 0.6000000000000001

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 23:44:21 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80009





--- Comment #4 from Kent Tamura <tkent at chromium.org>  2012-03-20 23:44:20 PST ---
(In reply to comment #3)
> It is better to change double print function to use "%.15f"?

I don't think so. 
A simple fix is to avoid resetting a valid value as I wrote in Comment 2.
Another fix is to use HTMLInputElement::alignValueForStep() or something like it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list