pub fn parse_frac(input: &str) -> Result<f64>