Bagikan melalui


floor Method

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

function floor(number : Number) : Number

Arguments

  • number
    Required. A numeric expression.

Remarks

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

Requirements

Version 1

Applies To:

Math Object

See Also

Reference

ceil Method