CommandsfloorOn this pagefloor floor (num) The floor function returns the closest integer less than or equal to num. The result for INF and NAN is undefined. See Also round, ceil, trunc