Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
max Method

max Method

Returns the greater of zero or more supplied numeric expressions.

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

number1, ... , numberN

Required. Numeric expressions.

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

Community Additions

© 2015 Microsoft