Round
Round a decimal input to the given number of decimals. Accepts float, double, half, or arrays / tuples of the aforementioned types.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Decimals (inputs:decimals) |
|
The number of decimal places to round to. Negative numbers specify the number of positions left of the decimal. |
0 |
Input (inputs:input) |
|
The input data to round. Can be of type float, double, half, or arrays / tuples of the aforementioned types. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Output (outputs:output) |
|
The resultant rounded numbers, with the same type and size as the “Input” attribute. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.Round |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Round |
Categories |
math:operator |
Generated Class Name |
OgnRoundDatabase |
Python Module |
omni.graph.nodes |