MAX
Maximum Numeric Value
This numeric function returns the maximum numeric value from at least one numeric value.
Syntax
Section titled “Syntax”MAX ( numeric-value1 [,numeric-value2[, ... numeric-valuen]] )numeric-value1,2,n- is any valid numeric expression.
Remarks
Section titled “Remarks”This function is generally available starting with release level 8.1.
The value returned by this function is affected by the PRECISION directive.
Examples
Section titled “Examples”MAX ( 10, 5*3, LEN("SHORT"), -5)returns the value 15 (5*3).
See also
Section titled “See also”MIN function
From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF