ComfyUI Node
round
Rounds a floating-point number to the specified number of decimal places. This node takes a float and an integer for decimal places as inputs, and returns the rounded result.
round
- FLOAT
◄float_value0.00►
◄decimal_places2►
CategoryBasic/FLOAT
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| float_value | FLOAT | 0.00 | — |
| decimal_places | INT | 2 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |