pub fn parse_leading_number(s: &str) -> f64
Parse the leading numeric portion of a string using optimized byte-based parsing “42abc” -> 42.0 “ 3.14 “ -> 3.14 “abc” -> 0.0