pub fn parse_double(string: &str) -> Result<(f64, usize), String>