Description

Returns the minimum value of two passed arguments.

Syntax

value = Min(arg1, arg2)

Parameters

arg1 and arg2 are required and must be assigned. A null value is equivalent to a zero in the evaluation.

Returns

The minimum value of the two arguments.

See Also

Max()function

Example

The following example returns -5 in retval.

retval = Min(-5, 6)
  • No labels