Gaming
 

API ceil

From WoWWiki

Main Menu


"ceil" is a shortcut for the standard Lua library function "math.ceil". They can both be used interchangeably.

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

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


 


This is a Lua function and documented as part of the World of Warcraft API