Round
Overview

Attributes

Attribute
Type
Description
Inputs
Input
Type
Description
Outputs
Output
Type
Description
See Also
External Links
Last updated

The Round Node takes a numerical value and rounds it with a chosen precision.
The following table shows a few examples:
Input
Precision
Output
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.

Precision
Int
Indicates the maximum number of decimal places that the Output can have.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Input
Float
The value to be rounded.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Output
Float
The rounded value.
Rounding on Wikipedia.
Last updated