math.ceil

Next higher integer value

Prototype

v = math.ceil (v)

Description

Smallest integer >= v

math.ceil (5.5) --> 6

Lua functions

Topics