pub fn parse_amount(input: &str) -> Result<f64, ParseError>
Parse amount with optional decimal places