lang • max

Max

Value = Max ( Expression , Expression )

Returns the greater of the two expressions

Expressions must be numbers or date/time values.

Examples

Print Max(6, 4)
6
Print Max(Now, CDate("01/01/2100"))
01/01/2100

See also