| Microsoft® JScript® max Method | Language Reference Version 1 | 
Returns the greater of two supplied numeric expressions.
retVal = Math.max(number1, number2)The max method syntax has these parts:
Part Description retVal The greater of number1 or number2. number1 A numeric expression to be compared to number2. number2 A numeric value to be compared to number1.