Float To Number (mtb)
A bridge into WAS Node Suite's NUMBER type
- NUMBER
The description is one line and it tells you everything: "Node addon for the WAS Suite. Converts a 'comfy' FLOAT to a NUMBER." WAS Node Suite is one of the big general-purpose utility packs in the ComfyUI ecosystem - blending, color correction, mask ops, text overlay, dozens of image-processing effects - and it built out its own NUMBER socket type alongside ComfyUI's native FLOAT/INT. The two don't connect to each other directly. If you're mixing core/mtb math nodes with WAS Suite's math or logic nodes in the same graph, you'll eventually hit a wire that refuses to snap because one side is FLOAT and the other wants NUMBER. This node is exactly that adapter.
When you need it
Anytime a value computed by a core ComfyUI node, or another mtb node like Fit Number, needs to feed into a WAS Suite node that specifically expects NUMBER - WAS has its own number-logic and math nodes built around that type rather than ComfyUI's native ones. Without this bridge you'd be stuck rebuilding that logic using only WAS's own generators.
Inputs and outputs
Just one input, no other settings:
float- the value to convert (default 0, with a wide practical range from -1,000,000,000 to 1,000,000,000).- Output:
NUMBER- the same value, now typed for WAS Suite's ecosystem of nodes.
No transformation to the actual value happens - it's a type bridge, not a math operation.
Installing it
You need MTB Nodes installed for this specific node, but note the description says it's for WAS Node Suite - so if you're using this, you almost certainly also want WAS Node Suite installed for it to actually be useful.
- ComfyUI Manager - search "MTB Nodes", install, restart. Separately search "WAS Node Suite" if you don't already have it.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/melMass/comfy_mtb, restart. A manual clone needspip install -r requirements.txtrun inside thecomfy_mtbfolder first.
No models attached to this node - it's a few lines of type-conversion Python.
Common issues & troubleshooting
The wire still won't connect after adding this node. Confirm you're actually plugging the NUMBER output into a WAS Suite input, not another core or mtb node - those expect FLOAT/INT natively and don't know what to do with WAS's NUMBER type. This node only helps at the WAS boundary.
You installed this node but don't have WAS Node Suite. Then you don't need it - there's nothing downstream that consumes a NUMBER type without WAS installed, so this node has no destination. It's harmless to have installed either way; it just won't do anything useful on its own.
Some mtb nodes fail to load at startup. Normal for a pack this size - check the console for [comfy_mtb] STATUS and http://127.0.0.1:8188/mtb for what didn't load and why. This node has no optional dependencies, so it's essentially never the one on that list.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| float | FLOAT | 0-1000000000–1000000000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| NUMBER | NUMBER | — |