JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Math.min() Function

Name

Math.min() Function---return the smaller of two values

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

Math.min(a, b)

Arguments

a, b

Any two numeric values or expressions.

Returns

The smaller of the two values a and b.

Description

Math.min() returns whichever of its two arguments is smaller.

See Also

"Math", "Math.max()"


Previous Home Next
Math.max() Book Index Math.PI

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.