Wikia

WoWWiki

API ceil

Talk0
101,555pages on
this wiki
WoW Lua

ceil(value) returns the ceiling of the value (the next highest whole number) i.e. rounds value up

int = math.ceil(n);
int = ceil(n);

Examples Edit

 > print(ceil(3.141592653))
 4
 round
 > print(ceil(n - .5))

Around Wikia's network

Random Wiki