GM: round
From GMpedia.org Wiki
|
round | |
| Type: | function |
| Arguments: | 1: value |
| Limitations: | none |
- The correct title of this article is round(). It appears incorrectly here because of technical restrictions.
The round() function in Game Maker is a mathematical function that rounds a number to an integer.
[edit] Examples
round(4.120213) will return 4 round(4.6585) will return 5

