pjs.max()
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
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()
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!