WoW:API ceil

From AddOn Studio
Revision as of 01:56, 21 November 2006 by WoWWiki>WoWWiki-Peanut
Jump to navigation Jump to search

Lua/Libshortcut

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))

Template:LUA