Min()


Return the smaller of two numbers or dates.

Syntax

Min(<nExp1>, <nExp2>) --> nSmaller

Min(<dExp1>, <dExp2>) --> dSmaller

Arguments

<nExp1> and <nExp2> are the numeric values to compare.

<dExp1> and <dExp2> are the date values to compare.

Returns

Min() returns the smaller of the two arguments. The value returned is the same data type as the arguments.

Description

Min() is a numeric and a date function that ensures the value of an expression is smaller than a specified minimum. The inverse of Min() is Max() which returns the greater of two numeric or date values.

Examples

Min(1, 2)

* Result = 1

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER