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