You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

Returns the maximum value of two passed arguments.

Syntax

value = Max(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 maximum value of the two arguments.

See Also

Min()function

Example

The following example returns 6 in retval.

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