Skip to content

Floor floor

The floor function returns the largest integer less than or equal to a given number.

 (floor 1.5)
1
 (floor 1.4)
1
 (floor -1.4)
-2