Navigation menu

WoW:API ceil: Difference between revisions

Jump to navigation Jump to search
Use Lua/Libshortcut template. Change category from "LUA Functions" to "Lua functions".
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''


{{Template:WoW API}}
  > print(ceil(3.141592653))
  4
 
{{LUA}}
Anonymous user