Multiple choice technology

----------------- converts a string to a floating-point number.

  1. parseFloat()

  2. toFloat()

  3. float()

  4. stringToFloat()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

parseFloat() is the standard JavaScript/ActionScript function that parses a string and converts it to a floating-point number. It extracts the first valid number from the beginning of the string. The other options (toFloat, float, stringToFloat) are not standard functions in JavaScript or ActionScript.