Siebel eScript Language Reference > Siebel eScript Commands > Math Objects >

Math.min() Method


This function returns the smaller of its parameters.

Syntax

Math.min(x, y)

Parameter
Description

x

A numeric literal or numeric variable

y

A numeric literal or numeric variable

Returns

The smaller of x and y.

Usage

This function returns the smaller of x and y, or NaN if either parameter cannot be converted to a number.

See Also

Math.max() Method

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.