Skip to main content

parse_numeric_str

Function parse_numeric_str 

Source
pub fn parse_numeric_str(s: &str) -> Option<Numeric>
Expand description

A numeric string read as a number: integer text as an exact integer, fractional decimal text as an exact Decimal, and any other float text (an exponent, a fraction past the Decimal precision, NaN, inf) as an f64. None for non-numeric text.