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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
round
    • FLOAT
    float_value0.00
    decimal_places2
    CategoryBasic/FLOAT

    Inputs (2)

    NameTypeDefaultDescription
    float_valueFLOAT0.00
    decimal_placesINT2

    Outputs (1)

    NameTypeDescription
    FLOATFLOAT