Siebel eScript Language Reference > Siebel eScript Commands > Math Objects >
Math.floor() Method
This method returns the greatest integer that is not greater than its parameter. Syntax
Math.floor(number)
|
|
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 parameter is already an integer, the result is the parameter itself. It returns NaN if number cannot be converted to a number. Example
For an example, see Math.ceil() Method. See Also
Math.ceil() Method
|