This documentation is archived and is not being maintained.

floor Method

Returns the greatest integer less than or equal to its numeric argument.

function floor(number : Number) : Number

number

Required. A numeric expression.

The return value is an integer value equal to the greatest integer less than or equal to its numeric argument.

Show: