Floor Function

Function

floor(n)

Summary

Returns the integer part of the number n.

Output

 floor(1.3) = 1
 floor(0.8) = 0
 floor(7.813) = 7