[Chapter 21] Reference: Math.min()
Author: David Flanagan
Date: Fri Aug 29 11:17:53 1997

#

| Chapter 21 JavaScript Reference |

# 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()"

Math.max() |  | Math.PI