Siebel eScript Language Reference > Siebel eScript Commands > The Math Object >

Math.max() Method


This function returns the larger of its parameters.

Syntax

Math.max(x, y)

Parameter
Description

x

A numeric literal or numeric variable

y

A numeric literal or numeric variable

Returns

The larger of x and y.

Usage

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

See Also

Math.min() Method

Siebel eScript Language Reference