fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Home > lang > max
 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
Documentation
History
 
Max
Syntax
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

Arithmetical Functions