nom::number

Function float

Source
pub fn float<T, E: ParseError<T>>() -> impl Parser<T, Output = f32, Error = E>
where T: Clone + Offset + Input + ParseTo<f32> + Compare<&'static str> + AsBytes + for<'a> Compare<&'a [u8]>, <T as Input>::Item: AsChar + Clone,
Expand description

single precision floating point number parser from text