Skip to main content

parse_number

Function parse_number 

Source
pub fn parse_number(codes: &CodeUnits, start: usize, end: usize) -> f64
Expand description

value of a number: the longest prefix of the range that is a number, like parseFloat(). the prefix is copied to a stack buffer and parsed by the correctly rounded rust parser (same result as parseFloat())