Number
A float constant you can actually see and wire
- float
Number is the simplest node in the MoneyMaker pack (display name ComfyUI-Yuan), and it does exactly what it says: one number in, the same number out. A single float input with a default of 1.0 and a step of 0.1, and a single float output. That's the whole node.
Why it exists
You're right to wonder - doesn't ComfyUI already let you type numbers on just about any widget, and turn them into inputs with a right-click? Yes. But this node earns its place in one specific scenario: when you want a clearly labeled, explicit float constant that feeds multiple places in a workflow, and you don't want to hunt for the number buried inside a node's widget list. It's the same idea as a primitive from WAS or a reroute carrying a value - a named knob you can point at from anywhere.
The other genuine use is value sharing through a saved workflow. If you're building a template or handing a workflow to someone, a dedicated Number node survives being dragged around and re-connected far more gracefully than a hardcoded widget value deep inside a sampler. One number, one name, one obvious place to edit it.
Under the hood there's zero magic: the execute method is literally return (number,). It doesn't round, clamp, or convert - the input already is a FLOAT, and the output is a FLOAT named float. What you see is what comes out.
When to skip it
Honestly, most of the time. For a single consumer, the widget right on that node is fewer clicks and less graph clutter. The community's usual go-to for shared constants is rgthree or WAS primitives, which are far more established and let you rename things cleanly. Grab Number when you're inside this pack anyway and want a value available graph-wide, or when you're composing with the pack's own nodes and want the number to be visually explicit.
Install
It ships with the MoneyMaker pack - in ComfyUI Manager, search for ComfyUI-Yuan (the pack's display title), install, restart. Manual route:
cd ComfyUI/custom_nodes
git clone https://github.com/Cyber-BlackCat/ComfyUI-MoneyMaker
Then restart. There are no models to fetch and no meaningful extra dependencies beyond opencv-python / scikit-image, which install with the pack. You'll find the node under the MoneyMaker😺 category alongside the pack's other utility nodes.
One honest caveat, same as the rest of the pack: this is a small hobbyist project, so the node is exactly as much as it looks like - a no-frills float passthrough. It won't surprise you, which is honestly the best thing you can say about a constant node.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| number | FLOAT | 1.0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |