WoW:API ceil: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Use Lua/Libshortcut template. Change category from "LUA Functions" to "Lua functions".) |
||
Line 1: | Line 1: | ||
{{:Lua/Libshortcut|ceil|math.ceil}} | |||
ceil(value) returns the ceiling of the value (the next highest whole number) i.e. rounds value ''up'' | ceil(value) returns the ceiling of the value (the next highest whole number) i.e. rounds value ''up'' | ||
{{ | > print(ceil(3.141592653)) | ||
4 | |||
{{LUA}} |
Revision as of 12:14, 26 May 2006
ceil(value) returns the ceiling of the value (the next highest whole number) i.e. rounds value up
> print(ceil(3.141592653)) 4