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'' | ||
{{ | > print(ceil(3.141592653)) | ||
4 | |||
{{LUA}} | |||