MAX function
Synopsis
This function
returns the larger of 2 specified numbers.
Variations
MAX(
Number,
Number2)
Returns the larger of 2 specified
numbers.
Details |
Examples |
Details and examples
Parameters
Number
Specifies the first number to compare.
Supported types: Numeric.
Number2
Specifies the second number to compare.
Supported types: Numeric.
Returns
Examples
1. |
The following example returns 1.9
MAX(-1.5,
1.9)
|
2. |
The following example returns 1
MAX(1,1)
|