MAX

From LongJump Support Wiki

The MAX function evaluates two numbers and returns the number with the greater value.

Syntax
MAX(number1, number2)
Return
Number
Examples
MAX(1, 2) = 2
MAX(2, 1) = 2