Float
A float input you can actually trust the type of
- float
ComfyUI's built-in Primitive node can hand you an int, a float, a string, or a boolean from the same widget, and figuring out which one came out is often an afternoon in itself. ZeugFloat is the version that refuses to play that game: it's a float in, a float out, end of story.
What it is
ZeugFloat sits in the zeug → Values menu and is a plain typed value source. Input value is a FLOAT (default 0, with a 0.01 step and a generous range of about ±1 billion), and the output is a typed float. Change the widget, the wire carries a float, done. There's no math, no conversion, no hidden behavior - the node's float_value function just passes the number through.
When you'd reach for it
Floats are everywhere in image generation: denoise strength, CFG scale, guidance, clip skip percentages, mask feather values. The moment you want one value driving several nodes - or a number that stays a float instead of getting coerced - ZeugFloat is the clean answer.
The classic setup: a single ZeugFloat feeding the denoise on a two-pass (hires fix style) graph, so you can tweak one widget instead of hunting through four different sampler settings. Because it's explicitly typed, a node that demands FLOAT will accept the wire without complaint. Compare that to the Primitive node, which occasionally hands a string to something expecting a number and leaves you wondering why your sampler got confused.
One small convenience worth noting: the 0.01 step means the widget is usable for precision, but if you type a number directly it'll happily accept values the slider doesn't hit. And unlike ZeugInt, there's no hard clamp that stops you from typing weird-but-legal floats if your workflow needs them.
How it works
Mechanically it's a one-line pass-through: read widget, return it. The useful part is what the node doesn't do - it never silently truncates your 3.7 into a 3, and it never flips into string mode. In the ComfyUI graph, that type discipline is the entire value of the node.
How to install it
Part of the comfyui-zeug pack (German for "gear" or "stuff"), a small GPL-3.0 collection by Adrian Schubek. Either way below works:
- ComfyUI Manager: search
zeugin the Custom Nodes Manager and install ComfyUI-Zeug. - Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/adrianschubek/comfyui-zeug
Restart ComfyUI afterward. The pack has zero dependencies - no requirements.txt, no model downloads - it only touches torch and ComfyUI's own internals, both of which ship with the app. You're not taking on dependency risk for a float box.
Common issues
There's almost nothing to trip over. If a node refuses the wire, you're probably feeding a float into something that wants an INT or a STRING - in that case route it through ZeugFloatToStr for text or ZeugInt for whole numbers instead of assuming ComfyUI will coerce for you (it often won't). Other than that, the only real "problem" is that this node is so simple you might forget it's there. That's the point.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT | 0.00-999999999–999999999 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |