Function gchemol_parser::parsers::parse_float
source · pub fn parse_float(s: &str) -> Option<f64>
Expand description
Convert a string to a float.
This method performs certain checks, that are specific to quantum chemistry output, including avoiding the problem with Ds instead of Es in scientific notation. Another point is converting string signifying numerical problems (*****) to something we can manage (NaN).