This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
functions:iround [2017/04/15 17:51] – korshun | functions:iround [2019/08/26 21:04] (current) – removed korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== iround ====== | ||
- | {{tag> | ||
- | '' | ||
- | ===== Description ===== | ||
- | Rounds x to the nearest integer and returns the result as an integer. | ||
- | |||
- | See the article on [[: | ||
- | |||
- | ===== Examples ===== | ||
- | < | ||
- | iround(2.3) -> 2 | ||
- | iround(3.8) -> 4 | ||
- | iround(5.5) -> 6 | ||
- | iround(-2.3) -> -2 | ||
- | iround(-3.8) -> -4 | ||
- | iround(-5.5) -> -5 | ||
- | </ |