Replace result type in str_to_f64