The MAX function takes one or more parameters containing numerical values and compares each to the other, returning the value of the parameter with the greatest value. This function can be called in a decimal or integral number context and will evaluate its parameters according to that context.
- @MAX (Number
1 [, ..., Number N])
- Number 1 Required parameter evaluated as the data type of the context in which the function is called. Contains the first value to be compared against all other parameters by the function.
- Number N Optional parameter(s) evaluated as the data type of the context in which the function is called. Each contains the value(s) to be compared against all other parameters to the function.
Supported Return Types
- Integral Number
- Decimal Number