ComfyUI Node

zfill

Pads the string with zeros on the left. This node returns a copy of the string left filled with ASCII '0' digits to make a string of length width. A leading sign prefix ('+'/'-') is handled by inserting the padding after the sign character rather than before.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
zfill
    • STRING
    string
    width10
    CategoryBasic/STRING

    Inputs (2)

    NameTypeDefaultDescription
    stringSTRING
    widthINT10

    Outputs (1)

    NameTypeDescription
    STRINGSTRING