βΎοΈπβ¨ Number to String
Number to String β the working text cast in the pack's converter family
- STRING
Need a number inside a string - a filename, a label, a text node? The βΎοΈπβ¨ Number to String takes any NUMBER value (so either an integer or a float) and hands you back its text form as a single STRING. It's a one-line cast with no configuration, and unlike a couple of its pack siblings, this one actually has a working output.
You'll want it in the glue scenarios: a seed that has to appear in a saved filename, a step count you want rendered into a label, a numeric value that needs to ride along in a string for some downstream text node. The NUMBER input type is the flexible one - it accepts both INT and FLOAT connections - which makes this a low-friction drop-in: whatever numeric source you have, it plugs in.
How it works
One input, one output:
NumberValue- typeNUMBER, accepts int or float.- Output:
STRING.
The conversion is plain str(NumberValue). 42 becomes "42", 3.14 becomes "3.14". No formatting control, no rounding, no thousand separators - what you get is Python's default rendering of the number, which is fine for filenames and labels and occasionally annoying if you wanted 0.5 and Python hands you "0.5" while the display elsewhere says 0.5000. For most uses, none of that matters.
Installing it
Standard pack install:
- ComfyUI Manager β Install Custom Nodes β search "Endless" / "Endless-Nodes".
- Or clone it in:
cd ComfyUI/custom_nodes
git clone https://github.com/tusharbhutt/Endless-Nodes
Restart ComfyUI. No extra pip dependencies to worry about.
The honest caveat
Yes, it's a legacy ESS class - pre-June-2025 pack, dropped in the author's "blew everything up" cleanup, and a fresh install won't expose it. If you're here because an old workflow references it, expect a missing-node flag and plan a replacement.
But the reason to single this one out: it's the working member of the "to String" trio. Float to String and Integer to String both ship with the forgotten-tuple bug that leaves them socket-less; this one declares its return type correctly and does its job. So if you're maintaining an old Endless workflow and need a number-as-text, this is the node to keep. If you're starting fresh, the pack's Number to X gives you float + int + string from one input, or you can use a maintained converter - either is a cleaner choice than building around a pack the author himself says may not be maintained.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| NumberValue | NUMBER | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | β |