pub fn str_to_number<S: AsRef<str>>(string: S) -> Option<f64>