fast_float

Function parse

Source
pub fn parse<T: FastFloat, S: AsRef<[u8]>>(s: S) -> Result<T>
Expand description

Parse a decimal number from string into float (full).

ยงErrors

Will return an error either if the string is not a valid decimal number or if any characterse are left remaining unparsed.