Tries to parse a Float from a String
Parse Float
const f = parseFloat("3.3");console.log(f); // 3.3
Parse the first valid Float
const f = parseFloat(" 9.0001e3a");console.log(f); // 9000.1
the parsed Float if successful, otherwise undefined
undefined
Generated using TypeDoc
Tries to parse a Float from a String
Example
Parse Float
Example
Parse the first valid Float
Returns
the parsed Float if successful, otherwise
undefined