Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Math Object max Method

Returns the greater of two supplied numeric expressions.

Syntax: JScript Math Object max Method

retVal = Math.max(number1, number2)

Arguments: JScript Math Object max Method

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.