Function float

Source
pub fn float(i: TokenStream<'_>) -> IResult<TokenStream<'_>, f64, ParserError>
Expand description

Parse a floating point number from the input stream.

ยงErrors

Returns an error if the next token is not a floating point number.