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.
[SSN] Convert Int To Others
- string
- float
◄integer0►
CategoryConverter
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| integer | INT | 0-2147483648–2147483647 | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |
| float | FLOAT | — |