Product Site

5.1.7.78. max

Returns the largest number from among the receiver and any arguments. The number that max returns is formatted according to the current NUMERIC settings. You can specify any number of numbers.
Example 5.114. String class — max method
12~max(6,7,9)                                                -->    12
17.3~max(19,17.03)                                           -->    19
"-7"~max("-3","-4.3")                                        -->    -3
1~max(2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21)   -->    21