Number.parseFloat()

Term side of the Card
Topic: Number
Unit title: Number.parseFloat()
Categories: Method
Explanation side of the Card

Explanation: The static method that parses a string and returns a floating-point number. If the string cannot be converted to a number, it returns `NaN`. This method is equivalent to the global `parseFloat()` function.

Browser compatibility:
  • The chrome browser supports this feature starting from version 34
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 25
  • The safari browser supports this feature starting from version 9
Availability: