Share via


max Method

Returns the greater of zero or more supplied numeric expressions.

function max([number1 : Number [, ... [, numberN : Number]]]) : Number

Arguments

  • number1, ... , numberN
    Required. Numeric expressions.

Remarks

If no arguments are provided, the return value is equal to NEGATIVE_INFINITY. If any argument is NaN, the return value is also NaN.

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

min Method

NEGATIVE_INFINITY Property