MAX(A,B) MAXimum of Two Alternatives

Returns the larger of A and B.

Same as IF THEN ELSE(A > B, A, B).

See also: MIN.

Units: MAX(unit, unit) --> unit (all arguments must have the same units)

Examples

MAX(1,2) is equal to 2.0.

MAX(1,1) is equal to 1.0.