fn log_guard_numeric(val: &Numeric, function_name: &str) -> Result<(), EvalError>