fix(stdlib): correct max() to use Math.Max
This commit is contained in:
parent
ced7fbd7c3
commit
7c54bcd1e6
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue