parseFloat

小数を含む文字列を数値にします。引数が文字列の場合、NaN(Not a Number)を返します。ただしNetscape 2.0ではNAN(000)を返します。

書式

parseFloat(★)
   ★=文字列