parseFloat()

eSignal EFS 2

parseFloat()

Top  Previous  Next

 

parseFloat( value )

 

Converts the value passed to a floating point number.

 

Parameters

 

value

the string value to be converted

 

Usage

 

function main() {

var myVar;

 

       ...

       ...

 

       //convert the string representation into a floating point number

       myVar = parseFloat( "1.45602" );

       

 

}