time::parsing::combinator::rfc::iso8601

Function float

source
pub(crate) fn float(input: &[u8]) -> Option<ParsedItem<'_, (u8, Option<f64>)>>
Expand description

Parse a floating point number as its integer and optional fractional parts.

The number must have two digits before the decimal point. If a decimal point is present, at least one digit must follow.

The return type is a tuple of the integer part and optional fraction part.