ComfyUI Node

Float 🦾

A float you can actually wire into anything

By beyondprompting·Created 9 months ago·Updated 7 months ago· 0
Float 🦾
    • FLOAT
    value0.00

    This is the most honest node in the pack: a float in, the same float out. Float is a primitive - one widget, one output, zero cleverness. It exists because ComfyUI's default number widgets are bolted onto whichever node owns them, and when you need the same value in three places - denoise, CFG, a scale factor, a conditioning strength - you want one knob that drives them all, not three widgets you must keep in sync.

    That's the whole pitch. Change the value once, every consumer updates, and your workflow stays readable because the number lives on its own node instead of buried inside a sampler.

    How it works

    value is a FLOAT input (default 0, stepped at 0.01), and the node returns it unchanged as a FLOAT. That's the entire mechanism. The step of 0.01 means dragging feels fine-grained for typical diffusion parameters; if you need fine control below a hundredth, you'll want to type the number directly.

    The inputs that matter

    • value (required) - the number itself. Type it or drag.

    Output: FLOAT - the same value, ready to wire into any float socket.

    Install

    Ships in ComfyUI-Beyond_nodes like everything else here. ComfyUI Manager → search "Beyond_nodes" → install → restart. Or manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/beyondprompting/ComfyUI-Beyond_nodes
    

    Restart. No dependencies beyond what ComfyUI already has.

    Common issues

    • The output won't connect to an INT socket. Correct - a float isn't an integer, and ComfyUI won't coerce it for you. If a node demands INT, convert with an Int node or use the integer primitive instead.
    • Dragging is jumpy. The 0.01 step is small for big ranges. Drag the whole widget or type the exact value.

    That's it. If you came looking for a tutorial, you found the one-node version: plug it in, set it, share it. When the float only feeds a single node, a plain widget is just as good - this earns its keep the moment you need the same number in several places.

    CategoryLogic

    Inputs (1)

    NameTypeDefaultDescription
    valueFLOAT0.00

    Outputs (1)

    NameTypeDescription
    FLOATFLOAT