ComfyUI Node Runs on cloud

ImpactFloat

A plain float value you can wire anywhere

By ltdrdata·Created 3 years ago·Updated 4 months ago· 3,242
ImpactFloat
    • FLOAT
    value1.00

    This is about as simple as a node gets: it holds one floating-point number and outputs it. That's the whole job. You type a value into the box, and it emits that value as a FLOAT you can route into anything that takes one - a KSampler's denoise, a CFG input you've converted to a socket, a math node, a comparison. Think of it as a labeled dial you can plug into several places at once.

    So why does it exist, when most nodes already have their own number widgets? Because Impact Pack ships a small set of experimental "logic" nodes for building loops and conditional graphs, and those need values that live as wires rather than as widgets baked into some other node. Once a number is on a wire, one ImpactFloat can feed five downstream nodes, and changing it in one spot updates all of them. That's the tidy version. The real reason people reach for it is single-source-of-truth: instead of retyping the same strength or denoise into three nodes and forgetting to update the fourth, you set it once here and fan it out.

    How it works

    There's no mechanism to speak of. It's a constant provider. On each run it reads the widget and passes that number through. It doesn't do math, it doesn't round, it doesn't clamp to anything sensible - the field accepts the full float range (roughly ±3.4e38, i.e. anything you'd ever type), so it trusts you to feed it a number the downstream node actually wants.

    The input and output

    • value (FLOAT, default 1) - the number it outputs. That's the only control.

    The output is a single FLOAT. Wire it into any float socket. If the target is a widget rather than a socket, right-click that node and convert the widget to an input first.

    Its companion node is ImpactInt for whole numbers and ImpactBoolean for true/false; you'll often see all three in the same logic-heavy graph.

    How to install it

    Impact Pack is one pack; installing it gives you this node and everything else. Easiest is ComfyUI Manager: open the Manager, search ComfyUI Impact Pack, hit Install, restart. Manually:

    cd ComfyUI/custom_nodes
    git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
    

    then install its requirements in the same Python environment ComfyUI runs in (pip install -r requirements.txt, or on the portable build ..\..\..\python_embeded\python.exe -m pip install -r requirements.txt) and restart. The pack is by ltdrdata - the same person behind ComfyUI-Manager - so it's about as trustworthy and well-maintained as custom nodes get. For a bare value node like this one you don't need the separate Impact Subpack (that's only for the YOLO detectors).

    Common issues & troubleshooting

    Honestly there's not much to go wrong here. Two things worth knowing. First, a FLOAT won't connect to an INT socket - if a downstream node wants a whole number, use ImpactInt instead, or you'll just get a type-mismatch that refuses to link. Second, if your target only shows a number widget and no dot to connect to, right-click it and "Convert widget to input" - the socket appears and then ImpactFloat plugs straight in. That widget-to-input step is the one that trips people up, and it's a ComfyUI thing, not an Impact Pack thing.

    CategoryImpactPack/Logic

    Inputs (1)

    NameTypeDefaultDescription
    valueFLOAT1.00-3.402823466e+38–3.402823466e+38

    Outputs (1)

    NameTypeDescription
    FLOATFLOAT