Files
ausboss-ComfyUI-AusBoss/js/docs/AUSBOSS_NODES_Float.md
ausboss ded731859c Integer and Float: a big look, like Text (#270)
Integer and Float get the same gear as Text, with a big look: one large centred number with its arrows, in a taller row. The Pika H3 Flex workflow uses it for Seconds.

The look is kept in the node's properties (ausboss_text_look: "big"), so saved values and what the node sends don't change. A row with its own height in a look now takes that height when the look changes. Docs and changelog updated.
2026-11-03 13:45:54 -06:00

2.4 KiB
Raw Permalink Blame History

Float

A number with decimals. Set one strength, scale, or CFG here, wire it to every node that needs it, and change it in one place.

Controls

  • Value (value): The number to send out. It starts at 0. The box shows the decimals its steps use (0.00) and holds up to three, so a typed 0.125 stays 0.125.
  • The gear, right: Look. normal is the usual box with its label. big shows the number large in the middle of the node, with an arrow on each side, for a setting people change on every run, such as the length of a clip. A drag and typing work the same. Each node keeps its own look, and it is saved with the workflow.

Limits

Wire the output to a setting that has limits and the box takes them over. Wired to a sampler's denoise, it goes from 0 to 1 and no further: type 1.5 and you get 1. The card shows 0–1 beside the value.

  • It works through a Reroute and into a box (subgraph) too.
  • Wired to two settings, it keeps to what both allow.
  • Unwire it and it takes any number again.
  • A new box takes the value of the first setting you wire it to, so wiring it up changes nothing until you move it. A box you have already set, or one that came with a workflow, keeps its own value.

Output

  • float: The value, unchanged.

For arithmetic on the way — scaling, clamping with min/max — feed this into Math Expression 🆎 instead of retyping derived numbers.

Technical details

  • The limits are those of the input the wire lands on, the way ComfyUI's own Primitive node takes them. When the inputs agree on a step, the fine step (Shift) is that step.
  • A value that is outside the limits when the wire is made is brought to the nearest one.
  • The box holds three decimals, or as many as the step it took over needs. It shows the decimals its arrow step reaches (at least one) and goes past them only for a value that uses more: 1.00 wired to denoise, 8.0 wired to CFG, 0.855 for a typed 0.855.
  • The limits are kept by the node's face. A value sent straight through the API is passed on as it is.
  • Wired only to inputs that share no value (one stops at 1, the other starts at 2), the box keeps no limits.
  • The look is stored in the node's properties as ausboss_text_look: "big", the same as Text 🆎. It is not an input, so the saved value and what the node sends are the same in both looks, and an older version of the pack shows the usual box.