Skip to main content

numeric_text

Function numeric_text 

Source
pub fn numeric_text(s: &str) -> Option<Value>
Expand description

The number a numeric string spells, exactly where it can be: an integer as [numeric_to_value] gives it, a fraction in decimal notation as a Decimal, and any other numeric text (an exponent, a fraction past the Decimal precision) as a Float. None for non-numeric text.