Recent changes Random page
GAMING
Gaming
 
StarCraft Wiki
Super Smash Wiki
Halopedia
Diablo Wiki
FFXIclopedia
Grand Theft Wiki
See more...

API ceil

From WoWWiki

Jump to: navigation, search

"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

Rate this article:
Share this article: