min

Gets the minimum (smaller) of two expressions.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

expr min(data1,data2)
expr     data1,data2

Example

Returns the minimum salary.
{
numeric sal_min = 0;
.
.
sal_min = min(sal_min,SAL);
.
.
}