max(x1,x2,x3,...)
From ENIGMA
Description
Finds the maximum value of all the values passed and returns it. You may pass up to X number of parameters to this function.
Parameters
| Parameter | Description |
|---|---|
| x1-x12 | values to find the max of |
Return Values
returntype: Returns the maximum of the given values.
Example Call
// demonstrates getting the maximum value from a set of values
var myvar;
myvar = max(0, 24.1, 1, 2, 5, 24, 7, 13); // result will be 24.1
var myvar;
myvar = max(0, 24.1, 1, 2, 5, 24, 7, 13); // result will be 24.1