parseFloat

get a float numerical value from a string

Syntax

parseFloat(val)

Returns

returns (float) value

Parameters

val (string)
a string with a float value