Function js_sys::parse_float
source · pub fn parse_float(text: &str) -> f64
Expand description
The parseFloat()
function parses an argument and returns a floating point number,
or NaN on error.
pub fn parse_float(text: &str) -> f64
The parseFloat()
function parses an argument and returns a floating point number,
or NaN on error.