API ceil

104,669pages on
this wiki
Add New Page
Talk0 Share
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))
 > print(ceil(n - .5))

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki