Max()


Determines and returns the larger of either two numeric or two date values.

Syntax

Max(<nExp1>, <nExp2>) --> nLarger

Max(<dExp1>, <dExp2>) --> dLarger

Arguments

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

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

Returns

Max() returns the larger of the two arguments. The value returned is the same type as the arguments.

Description

Max() works with either numbers or dates and returns the larger of two choices. The inverse of Max() is Min(), which returns the lesser of two numeric or date values.

Examples

Max(1, 2)

* Result = 2

____________________________

Related Topics:

Business Function List



CAPITAL VISUAL BUILDER