Max

Description:              This function returns the maximum of a group of parameters.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      Max(Parm1, Parm2 [, Parm3, ...])

Parameters:             Parm1, Parm2, Parm3, ...   { numeric }  { required }  { no default }

                                      Any number of parameters giving any numeric expressions, from which a maximum value will be selected.

Comments:               The order of the values is irrelevant. If any of the parameters is invalid, the return value is invalid also.

Examples:

p = Max(2, 3, 2.9, -3);

q = Max(3, 2);

r = Max(Invalid, 6);

The values of p, q, and r will be 3, 3 and Invalid respectively.

See Also:

AMax | AMin | Limit | Min | Math Functions