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

Math.floor() Method


This method returns the greatest integer that is not greater than its parameter.

Syntax

Math.floor(number)

Parameter
Description
number
A numeric literal or numeric variable

Returns

The greatest integer that is not greater than number; if number is an integer, number.

Usage

This method returns the greatest integer that is not greater than number. If the argument is already an integer, the result is the argument itself. It returns NaN if number cannot be converted to a number.

Example

For an example, read Math.ceil() Method.

See Also

Math.ceil() Method


 Siebel eScript Language Reference 
 Published: 18 April 2003