Returns the larger of A and B.
Same as IF THEN ELSE(A > B, A, B).
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.
See also: MIN.
Sample model: MAX MIN.mdl in FunctionExamples