Get the floor or ceiling for a number

Added by iNTERFACEWARE

Return the floor or ceiling for a number, using math.floor() or math.ceil()

Source Code
-- get the floor for a number
local floor = math.floor(99.5)
trace(floor)

-- get the ceiling for a number
local ceil = math.ceil(99.5)
trace(ceil)
Description
Return the floor or ceiling for a number, using math.floor() or math.ceil()