Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Force String to Float?


  • From: liorean at gmail.com (liorean)
  • Subject: [Javascript] Force String to Float?
  • Date: Tue May 15 08:16:10 2007

On 15/05/07, tedd <tedd@xxxxxxxxxxxx> 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