math.floor

Next smaller integer value

Prototype

v = math.floor (v)

Description

Largest integer <= v

math.floor (5.5) --> 5

Lua functions

Topics