Round
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-adefc4684577e3fc805d260f2ac221cc3dba510b%252Froundupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=ceb8902d&sv=1)
The Round Node takes a numerical value and rounds it with a chosen precision.
The following table shows a few examples:
|
|
|
5.45 | 1 | 5.5 |
5.44 | 1 | 5.4 |
12.11232 | 3 | 12.112 |
12.11232 | 2 | 12.11 |
12.11232 | 1 | 12.1 |
12.11232 | 0 | 12 |
Scope: Project, Scene, Function, Prefab.
Attributes
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2561100106-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Ff6JZovzOqBctA4C1o76u%252Fuploads%252Fgit-blob-2bf80ed5f27452423c16ce318e691dd7a8ff93e1%252Fnode-round-attri.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=92efe40a&sv=1)
Attribute | Type | Description |
---|---|---|
| Int | Indicates the maximum number of decimal places that the |
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Float | The value to be rounded. |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Float | The rounded value. |
See Also
External Links
Rounding on Wikipedia.
Last updated