Page tree
Skip to end of metadata
Go to start of metadata

Returns the maximum value out of all parameters, where parameters can be any data type, including numbers, strings, or dates.


An unlimited number of parameters can be passed to this API


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