ComfyUI Node

Float

A float you can actually wire, instead of a widget you can't

By r-vage·Created about a year ago·Updated 5 months ago· 23
Float
    • float
    value1.00

    The Float node is a single number box with a FLOAT output that echoes what you typed. Default 1, step 0.01, no minimum or maximum that'll bite you. That's the entire node. If that sounds pointless, you haven't hit the moment yet where a float widget on some node isn't enough.

    Why a bare float node earns its keep

    In ComfyUI, a value can live two ways: as a widget (the box on the node itself) or as a wire (a connection from another node). Widgets are convenient, but they can't be shared - every node's widget is its own private copy, and editing a value that's duplicated across ten nodes means editing ten boxes. The Float node converts one value into a wire, and wires can be:

    • Fanned out to many nodes from a single source, so you edit once.
    • Recomputed by other nodes - feed this float into a math node and the result drives something downstream.
    • Converted - many ComfyUI nodes let you right-click and "convert a widget to input," which gives you an input port that expects exactly the kind of value this node produces. The pack's own switches and settings all play this game: forceInput ports that want a float from somewhere.

    So the Float node is your "make this number a first-class citizen" tool. It's also the natural companion to the pack's Float Switch and Float Multi-Switch, which need wired floats rather than typed-in ones.

    What's on the node

    • value - a FLOAT widget, default 1, step 0.01.
    • float output - the same value as a FLOAT, wire-ready.

    That's it. There's no rounding, no clamping logic, no cleverness. If you want a quick typed number for a single node, the widget on that node is faster. If you want a shared, reusable, wire-driven value, this is the node.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/r-vage/ComfyUI-RvTools_v2
    # restart ComfyUI
    

    Or search "ComfyUI-RvTools_v2" in ComfyUI Manager. Zero models to download; the pack's requirements are the standard torch/numpy/Pillow/opencv-python/pilgram.

    Context worth knowing

    This node is part of a pack the author has flagged as unmaintained, pointing to ComfyUI_Eclipse as the successor. And the RvTools name has history: the original repo was deleted from GitHub in early 2025, which broke workflows that referenced it and produced the predictable "how do I install RvTools now?" thread on r/comfyui. v2 is the renamed version that still loads cleanly. For a node this trivial, the migration stakes are near zero - but if you're rescuing an old workflow, now you know which repo to point at.

    Category🫦 RvTools II/ Primitives

    Inputs (1)

    NameTypeDefaultDescription
    valueFLOAT1.00

    Outputs (1)

    NameTypeDescription
    floatFLOAT