Nodes/smn_support_nodes/[SSN] Convert Int To Others
ComfyUI Node

[SSN] Convert Int To Others

A converter node that takes an integer input and outputs its string and float representations. Class methods ------------- INPUT_TYPES (dict): Defines the input fields for this node: a single integer. Attributes ---------- RETURN_TYPES (`tuple`): The type of the output tuple: a STRING and a FLOAT. RETURN_NAMES (`tuple`): The name of the output ("String", "Float"). FUNCTION (`str`): The entry-point method name ("execute"). CATEGORY (`str`): The category under which this node appears in the UI ("Converter"). execute(integer) -> tuple: Returns a tuple containing the string form of the input integer.

By SummonTheCat·Created about a year ago·Updated about a year ago· 0
[SSN] Convert Int To Others
    • string
    • float
    integer0
    CategoryConverter

    Inputs (1)

    NameTypeDefaultDescription
    integerINT0-2147483648–2147483647

    Outputs (2)

    NameTypeDescription
    stringSTRING
    floatFLOAT