▼
▼
parseFloat
parseFloatparseFloat(string)
Returns the given string as a floating point number, or NaN if not possible.