Product SiteDocumentation Site

7.4.43. MAX (Maximum)


         +-,------+
         V        |
>>-MAX(----number-+--)-----------------------------------------><

Returns the largest number of the list specified, formatted according to the current NUMERIC settings. You can specify any number of numbers.
Here are some examples:

Example 7.57. Builtin function MAX

MAX(12,6,7,9)                                                ->    12
MAX(17.3,19,17.03)                                           ->    19
MAX(-7,-3,-4.3)                                              ->    -3
MAX(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21)   ->    21