GM: ceil
From GMpedia.org Wiki
- The correct title of this article is ceil(). It appears incorrectly here because of technical restrictions.
|
ceil | |
| Type: | function |
| Arguments: | 1: value |
| Limitations: | none |
The ceil() function in Game Maker is a mathematical function where the input argument is always rounded to the nearest integer greater than the argument.
[edit] Examples
round(4.120213) will return 5 round(4.6585) will return 5

