This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| functions:iround [2017/03/15 14:30] – created korshun | functions:iround [2019/08/26 18:04] (current) – removed korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== iround ====== | ||
| - | {{tag> | ||
| - | '' | ||
| - | ===== Description ===== | ||
| - | Returns x rounded to the nearest integer 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 | ||
| - | </ | ||