Max Function
Returns the largest value passed to it.
Syntax
result = Max( value1, [value2] )
Parameters | ||
value1 |
The first number for comparison. |
|
value2 (Optional) |
The second number for comparison. |
Return Value | ||
Result |
The maximum value of value1 to valueN. |
Notes
The Max function compares two or more numbers and returns the largest of the passed values.
Examples
This example uses the Max function to return the largest of the values passed
.
See Also