MAX() Function - Get Maximum Value

Syntax

MAX(num{,num...})

Description

The MAX() function takes any number of numeric arguments and returns the value of the greatest argument.

Example

>PRINT MAX(7,39,0,13,-45)
39

See Also

Functions - Alphabetical Listing