Share via


Metodo max

Restituisce il valore maggiore di zero o di più espressioni numeriche specificate.

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

Argomenti

  • number1, ... , numberN
    Obbligatorio. Espressioni numeriche.

Note

Se non è specificato alcun argomento, il valore restituito sarà uguale a NEGATIVE_INFINITY. Se un argomento è NaN, anche il valore restituito sarà NaN.

Requisiti

Versione 1

Si applica a:

Oggetto Math

Vedere anche

Riferimenti

Metodo min

Proprietà NEGATIVE_INFINITY