Round

Overview

The Round Node.

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.

Attributes

The Round Node Attributes.
Attribute
Type
Description

Precision

Int

Indicates the maximum number of decimal places that the Output can have.

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

A standard Input Pulse, to trigger the execution of the Node.

Input

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.

Output

Float

The rounded value.

See Also

Last updated

Was this helpful?