βΎοΈπβ¨ Number to Integer
The converter for the odd one out in your graph
- INT
Some nodes in ComfyUI output a NUMBER type, which is neither strictly an INT nor a FLOAT - it's the generic "some number" slot. And plenty of downstream nodes refuse to take it. ESS Number to Integer exists for exactly that gap: it accepts a NUMBER, casts it to an integer, and lets you keep building instead of hunting for why the wire won't connect.
It's one of the Endless pack's newer branded converters (the βΎοΈπβ¨ "ESS" family). The README's changelog traces these back to a V0.31-era batch of int/float/number/string conversion nodes, and they've survived the pack's 2025 rewrite as the type-bridge utility set. This one's niche is narrow but real.
Inputs and outputs
number- the one input, a NUMBER (default 0).INT- the one output.
Mechanically it's a cast: fractional input gets truncated, so 7.9 becomes 7. If you need rounding, round before you feed it in.
When you'll actually use it
The practical case is any node that outputs NUMBER - several utility and analysis nodes do - feeding something that insists on INT, like a steps, seed, or batch-size input. Rather than chasing the exact float/int converter that happens to fit, you take the NUMBER as-is and bridge it here. It's the same family as the pack's Float to Integer and String to Float; the difference is only which source type you're coming from.
Honest framing: this is a very small hammer. If your graph produces NUMBER types and you keep tripping over them, this node (or one of its siblings) is a clean fix. If it doesn't, you'll likely never touch it.
Installing it
Part of Endless πβ¨ Nodes by tusharbhutt:
cd ComfyUI/custom_nodes
git clone https://github.com/tusharbhutt/Endless-Nodes
# restart ComfyUI
Or ComfyUI Manager β search "Endless". No dependencies or model files.
Gotchas
Truncation-not-rounding, keep number in the range the downstream node accepts (INT widgets on ComfyUI have min/max), and the standing pack note: single maintainer, AI-assisted, mid-2025 rewrite. A pure cast is low-risk, but don't install the whole pack for just this - check whether your existing utility nodes already bridge NUMBER.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| number | NUMBER | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | β |