pub fn parse_decimal( field: &str, raw: Option<&str>, ) -> Result<Option<f64>, AppError>
Parses user supplied decimal numbers, accepting both 1.5 and 1,5. Empty input yields None.
1.5
1,5
None