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

Returns the minimum 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 min;
min = pjs.min("x", "y", "z", "a", "b", "c");  // min is "a"
min = pjs.min(3, 2, 1, 99, 98, 97);  // min is 1

 

RPG Equivalent

%MIN()