Math.min(number,number...) +
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
Math.min(n1, n2[, n3 ....])

Arguments
n1: A number or expression.
n2: A number or expression.
n3: A list of numbers or expressions.

Returns
A number, the parameter with the lowest value.

Description
Returns the value of the parameter with the lowest value.

Sample
Math.min(1
,4,-3);   // returns -3

Flash MX Differences
Under MX, the method is limited to two Arguments.

See Also
Math.max() and Math.min()
.