A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.rs/fast-float/latest/fast_float/fn.parse_partial.html below:

parse_partial in fast_float - Rust

Function parse_partialSource
pub fn parse_partial<T: FastFloat, S: AsRef<[u8]>>(s: S) -> Result<(T, usize)>
Expand description

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

This function parses as many characters as possible and returns the resulting number along with the number of digits processed (in case of success, this number is always positive).

§Errors

Will return an error either if the string doesn’t start with a valid decimal number – that is, if no zero digits were processed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4