Home / lang / max 
Max
Syntax
Value = Max ( Expression , Expression )

Returns the greater of the two expressions

Expressions must be numbers or date/time values.

Example
PRINT Max(6, 4)

6

Example
PRINT Max(Now, CDate("01/01/2100"))

01/01/2100


See also
Arithmetical Functions