[Webkit-unassigned] [Bug 16717] New: parseFloat fails for Euro symbol
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 3 00:45:56 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16717
Summary: parseFloat fails for Euro symbol
Product: WebKit
Version: 523.x (Safari 3)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: robertradler at gmx.de
Parsing a float with parseFloat() doesn't work with Euro symbol suffix.
Sample script:
<script>
alert(parseFloat("1.0"));
</script>
parseFloat returns NaN and NOT the expected value as float object;
This script works as expected:
<script>
alert(parseFloat("1.0$"));
</script>
My Test System:
Windows XP SP2
Safari 3.0.4 beta (523.15) with WebKit-r28899
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list