W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

[Bug 11887] Remove useless input.valueAsNumber. Pretty much the same functionality can be achieved using parseFloat or parseInt

From: <bugzilla@jessica.w3.org>
Date: Sun, 30 Jan 2011 17:16:52 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PjatQ-00041o-B1@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11887

--- Comment #4 from Olli Pettay <Olli.Pettay@gmail.com> 2011-01-30 17:16:51 UTC ---
>From API usage point of few the fact that some 
implementation may store the value as number doesn't really matter.
JS developers do know parseInt and parseFloat. Is there any reason why
they should use valueAsNumber?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 30 January 2011 17:16:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 January 2011 17:16:54 GMT