Icon Min

Unit: Internal

Available In: Client and Server Applications

function Min(A,B: Integer): Integer

function Min(A,B: Double): Double

The Min function returns the lesser of the two input parameters. If A is less than B, then A is returned. If B is less than A, then B is returned. The return value is the same type as the input parameters.

Examples

X := Min(100,2);  // X is 2
Image