Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the largest integer that is not greater than the argument.
numberfloor(number)
Parameters
- number
A number.
Return Values
Returns the largest integer that is not greater than the argument.
Remarks
The following function call returns 3.
floor(3.5)
The following function call returns –2.
floor(-1.3)
The following function call returns 4.
floor(4)
Requirements
None.
See Also
Send Feedback on this topic to the authors