1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
[//]: # (generated using SlashBack 0.2.0)
# integer methods
The following methods are all part of the **integer methods**\.
Contains two different rounding methods\.
## Table of contents
* [**iround** function](#iround-function)
* [**uround** function](#uround-function)
### iround\(\) function
#### <code>glm.<code>**iround**(**x**: *number*) -\> *int*</code></code>
  Returns a value equal to the nearest integer to ``` x ```\. The fraction ``` 0.5 ``` will round in a
  direction chosen by the implementation, presumably the direction that is fastest\.
#### <code>glm.<code>**iround**(**x**: *vecN*) -\> *ivecN*</code></code>
  Returns a value equal to the nearest integer to ``` x ```\. The fraction ``` 0.5 ``` will round in a
  direction chosen by the implementation, presumably the direction that is fastest\.
### uround\(\) function
#### <code>glm.<code>**uround**(**x**: *number*) -\> *int*</code></code>
  Returns a value equal to the nearest integer to ``` x ```\. The fraction ``` 0.5 ``` will round in a
  direction chosen by the implementation, presumably the direction that is fastest\.
#### <code>glm.<code>**uround**(**x**: *vecN*) -\> *uvecN*</code></code>
  Returns a value equal to the nearest integer to ``` x ```\. The fraction ``` 0.5 ``` will round in a
  direction chosen by the implementation, presumably the direction that is fastest\.
|