Nodes/ComfyUI Extended/Preview Float
ComfyUI Node

Preview Float

Finally see the denoising strength, CFG, or whatever float your workflow is really using

By rookiepsi·Created about a year ago·Updated 11 months ago· 9
Preview Float
      float

      Somewhere in your workflow there's a float that isn't what you think it is. Maybe a node computed a denoising strength, or a LoRA weight got scaled somewhere you forgot, or you're feeding a value into a switch and the switch is picking the wrong branch. Preview Float shows you the actual number on the canvas after every run. No logs, no guessing.

      It's part of ComfyUI Extended, the zero-dependency utility pack, and it sits alongside Preview Integer, Preview Boolean, and Preview Text - the pack's way of making ComfyUI's invisible plumbing visible.

      How it works

      One required input, float (FLOAT), marked forceInput - wire a float in, you can't type into it. When the queue runs, the node pushes the value over a websocket, and the pack's frontend writes it into a read-only widget on the node.

      Worth knowing: it rounds to three decimal places before displaying (str(round(float, 3)) in the source). So a denoising strength of 0.5299999 shows as 0.53. For debugging that's usually a feature - you don't need six decimals to know which branch you're on. If you need full precision, keep your own log; for eyeballing, this is enough.

      It's an output node with no output sockets, so it terminates the wire. That's the trade-off for the convenience: the float ends here.

      Install

      The whole pack installs one way and needs nothing extra:

      cd /path/to/your/ComfyUI/custom_nodes
      git clone https://github.com/rookiepsi/comfyui-extended.git
      

      Restart ComfyUI, and it's under comfyui-extended/preview. Manager users: search "ComfyUI Extended" and install. No models, no dependencies - the pack's pyproject.toml lists an empty dependency list.

      Common issues

      • Blank until you run. The value appears after execution, not live.
      • Looks like it's frozen. Hard-refresh the browser (Ctrl+Shift+R) if the read-only widget isn't updating after the pack updates.
      • "That's not the exact number!" It's rounded to three decimals. See above - that's deliberate.

      Where it earns its keep: any workflow where a float feeds a switch, a blend, or a strength, and you need to confirm the value actually made it through unclamped. That's a real, daily debugging pain in ComfyUI, and this is the cheapest cure.

      Categorycomfyui-extended/preview

      Inputs (1)

      NameTypeDefaultDescription
      floatFLOAT

      Outputs (0)

      No outputs