Skip to main content

parse_float

Function parse_float 

Source
pub fn parse_float(s: &str) -> Option<f64>
Expand description

Python’s float(str): accepts surrounding whitespace, underscores between digits, inf/nan spellings, and everything Rust’s parser accepts.