math.floor()

math.floor(x)

Return the floor of x as a float. This is the largest integral value <= x.