Math.ceil
From Data Realms Wiki
Jump to:
navigation
,
search
Function
Syntax
math.ceil(
Number
)
Description:
Rounds up a given number to the nearest whole number.
Returns
Number
Example
Description
Rounds up 1.5.
Code
print
(
math.ceil
(
1.5
)
)
Output
Prints 2.
Category
:
Lua
Views
Page
Discussion
View source
History
Personal tools
Log in / create account
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages
Permanent link