🔢 AGSoft Loop Fix Float
Feed a list of 10 floats into a loop without a converter node
- FLOAT
Looping in ComfyUI is done with lists - a node outputs a list, a looping structure iterates over it, and you get N passes instead of N copy-pasted nodes. The friction is always the same: how do you get your handful of values into a list? AGSoft Loop Fix Float is the answer for the float case: ten plain input fields that come out the other side as a single list of floats.
The name says "Fix" because it fixes the classic annoyance with float inputs in loops: a value of zero. A lot of input widgets silently drop zero or treat empty as missing, which quietly skips a step in your sequence. This node passes everything through, zeros included - which is why its description is proud of that exact detail.
How it works
You get up to ten float_1 through float_10 fields (any range -10000 to 10000, step 0.01). number_of_inputs (1–10, default 10) controls how many of them actually get collected, so you can show 4 fields instead of 10 without the node complaining. precision rounds each value to 1 or 2 decimals before it goes into the list - useful when you're feeding something that's picky about trailing digits, like an animation schedule.
The output is a single FLOAT list (the brief's schema marks it as a list output). That's the whole job: typed values in, one list out, ready for whatever loop node or batch processor consumes lists.
Installation
From comfyui-AGSoft:
cd ComfyUI/custom_nodes
git clone https://github.com/Art-xmaster/comfyui-AGSoft.git
# restart ComfyUI
Or ComfyUI Manager → search "comfyui-AGSoft". No extra deps beyond the pack's numpy/opencv, no models.
Where it fits
The siblings tell the story: AGSoft Loop Fix Integer for integers, AGSoft Loop Fix Text for strings, this one for floats. They're the "collect these into a list" family, and they pair naturally with loop samplers or any node that iterates lists. If instead you want to generate a range of values (start, end, step) rather than type them out, that's what AGSoft Loop Float is for. If you want the values to come from elsewhere in the graph rather than typed fields, you don't need this node at all - you need a list source. The honest review: it's a small utility that earns its place the moment you type "0.25" into a float field and watch a loop skip a step because the zero handling was broken elsewhere.
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| number_of_inputs | INT | 101–10 | How many inputs to use (1-10). Сколько входов использовать (1-10). |
| precision | COMBO | 2 | Number of decimal places (1 or 2). Количество знаков после запятой (1 или 2). |
| float_1 | FLOAT | 0.00-10000–10000 | Float value 1. Float значение 1. |
| float_2 | FLOAT | 0.00-10000–10000 | Float value 2. Float значение 2. |
| float_3 | FLOAT | 0.00-10000–10000 | Float value 3. Float значение 3. |
| float_4 | FLOAT | 0.00-10000–10000 | Float value 4. Float значение 4. |
| float_5 | FLOAT | 0.00-10000–10000 | Float value 5. Float значение 5. |
| float_6 | FLOAT | 0.00-10000–10000 | Float value 6. Float значение 6. |
| float_7 | FLOAT | 0.00-10000–10000 | Float value 7. Float значение 7. |
| float_8 | FLOAT | 0.00-10000–10000 | Float value 8. Float значение 8. |
| float_9 | FLOAT | 0.00-10000–10000 | Float value 9. Float значение 9. |
| float_10 | FLOAT | 0.00-10000–10000 | Float value 10. Float значение 10. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |