π§ CR Integer To String
Turn a Number Into Text You Can Actually Use
- STRING
- show_help
CR Integer To String is the mirror image of CR String To Boolean and it does the same kind of unglamorous, essential job: bridge one socket type into another. Here it's an INT going in and a STRING coming out, so a number generated somewhere in your graph can be used anywhere text is expected.
How it works. One input, int_ (a wide-range integer widget), one output, a STRING holding that number's text representation, plus the standard show_help. That's genuinely the whole node - no formatting options, no padding, no separators visible in the schema, just the number rendered as text.
Where you'd actually reach for it. Two common cases. First, filenames: if you've got a frame counter or a batch index flowing through your graph from something like CR Index or CR Increment Integer, and you want to bake that number into an output filename, most filename-building nodes (Comfyroll's own CR Text Concatenate included) work on strings, not integers - this is the node that gets your number into a shape they can accept. Second, burning a number directly onto an image: feeding a frame count or batch position into a text-overlay node like CR Overlay Text or CR Draw Text so it renders visibly on the output - genuinely useful when you're eyeballing a long animation render and want to know at a glance which frame you're looking at.
Why not just type the number as text. Because the whole point is that the number isn't fixed - it's coming from somewhere else in the graph, an index that changes every frame or every batch item. If it were a constant you'd never need this node; the value only needs converting because it's live.
Inputs and output that matter. int_ (required, the number to convert) in; a single STRING out, plus show_help.
Install. ComfyUI Manager: search "Comfyroll Studio", install, restart. Manually: cd ComfyUI/custom_nodes && git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git, restart. No models needed - this is about as lightweight as a custom node gets.
Troubleshooting. There's not much to go wrong with a node this small - the one thing to watch is that int_ genuinely receives a number and isn't left disconnected, since an unconnected required input just means the node has nothing to convert. The pack-wide caveat still applies, though, and it's worth repeating because it's the one real failure mode that shows up in actual user reports: Comfyroll's entire node set registers from a single shared file, and on r/comfyui there are documented cases of one broken import (Failed to load Graphics nodes / Failed to load Utility nodes) wiping out every Comfyroll node at once, this trivial one included. If nodes vanish after install, redo it with a clean git clone rather than debugging pip.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| int_ | INT | 00β18446744073709550000 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | β |
| show_help | STRING | β |