...
Returns the maximum value out of all parameters, where parameters can be any data type, including numbers, strings, or dates.
Parameters
An unlimited number of parameters can be passed to this API
Examples
Code Block | ||
---|---|---|
| ||
var max;
max = pjs.max("x", "y", "z", "a", "b", "c"); // max is "z"
max = pjs.max(3, 2, 1, 99, 98, 97); // max is 99 |
RPG Equivalent
%MAX()