Apply your JS skills to key Mozilla projects as an MDN Fellow!

Your Search Results


    This is an experimental technology, part of the Harmony (ECMAScript 6) proposal.
    Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future version of browsers as the spec changes.


    The Number.parseFloat() method parses a string argument and returns a floating point number. This method behaves identically to the global function parseFloat() and is part of ECMAScript 6 (its purpose is modularization of globals).




    A string that represents the value you want to parse.


    Please see parseFloat() for more details and examples.


    Specification Status Comment

    ECMAScript 6 (ECMA-262)
    The definition of 'Number.parseFloat' in that specification.

    Draft Initial definition.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support (Yes) 25 (25) Not supported (Yes) Not supported
    Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported Not supported 25.0 (25) Not supported Not supported Not supported

    See also

    Document Tags and Contributors

    Contributors to this page: Mingun, danielnixon, biscuitsandtea, fscholz, realityking
    Last updated by: danielnixon,
    Hide Sidebar