round

Basic data handling: FloatRound

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
float_valueFLOATrequired
decimal_placesINTrequired

Outputs (1)

NameType
FLOATFLOAT