Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Examples

Code Block
languagejavascript
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()