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
5.4
12.11232
3
12.112
2
12.11
12.1
0
12
Scope: Project, Scene, Function, Prefab.
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.
Float
The value to be rounded.
Pulse Output (►)
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
The rounded value.
Floor
Ceil
Roundingarrow-up-right on Wikipedia.
Last updated 1 year ago