[Javascript] Force String to Float?

liorean liorean at gmail.com
Tue May 15 08:15:58 CDT 2007


On 15/05/07, tedd <tedd at sperling.com> wrote:
> At 2:30 AM +0100 5/15/07, Matt Warden wrote:
> >parseFloat(...)
> I tried that, but found it problematic.

Problematic? In what way? It should be pretty straight forward, and
every browser support it.

If you want to convert strings to numbers, you can find a table over
different ways to do it and how they behave here:
<uri:http://codingforums.com/showpost.php?p=378573>
-- 
David "liorean" Andersson



More information about the Javascript mailing list