fix(stdlib): correct max() to use Math.Max

This commit is contained in:
Jordan Wages 2025-08-20 05:53:55 -05:00
commit 7c54bcd1e6

View file

@ -36,7 +36,7 @@ namespace stdlib.functions
decimal second = Convert.ToDecimal(inputSecond.Value);
return new FunctionValue(FunctionValueType.Numeric, Math.Min(first, second));
return new FunctionValue(FunctionValueType.Numeric, Math.Max(first, second));
});
}
}