centi
The boring node that turns integers into fractions
- float_1
- float_2
- float_3
centi does exactly one thing: it takes up to three integers and divides each by 100, giving you three floats. That's the whole node. No settings, no code field, no way to configure anything. It's deliberately, aggressively minimal.
So why does it exist? Because its sibling in the same pack, MultiOutputScript, hands you INT outputs only - and once you've spent an afternoon with Wan video workflows or LoRA strength tuning, you know that integers and useful parameters don't always line up. Denoise, CFG offset, sampler multipliers, clip strength: a lot of what you actually want to wire around sits in that awkward 0-to-1 range. Feeding 65 in here gives you 0.65 on the other side, with clean hundredths precision. That's the whole trick, and it's a surprisingly handy one when a workflow keeps expecting FLOAT sockets.
How it works
There's no real mechanism to explain - centi runs int_n / 100.0 and sends the result out. The one thing worth knowing is what happens when you don't connect something: an unconnected int_n yields None on its output, not 0.0. The node is connector-only, so it won't silently feed you a fake zero that then poisons a downstream calculation. If a downstream node complains about a missing value, that's your first clue you forgot a wire.
Inputs and outputs
All three inputs are optional INT sockets, forceInput-flagged so they present as connection targets rather than widgets:
int_1,int_2,int_3- integers infloat_1,float_2,float_3- each input divided by 100, asFLOATout
It's a 1:1 mapping, lane for lane. There are only three lanes; if you need four conversions, chain two nodes or do the math inside MultiOutputScript's code field instead. The centi node is what you reach for when the next node insists on a FLOAT and you've only got integers lying around.
Installing it
centi ships in ComfyUI-ScriptFlow by kantan-kanto, alongside MultiOutputScript. Install via ComfyUI Manager (search "ComfyUI-ScriptFlow"), or:
cd ComfyUI/custom_nodes
git clone https://github.com/kantan-kanto/ComfyUI-ScriptFlow
# restart ComfyUI
No dependencies, no models, no requirements.txt - it's a couple of lines of pure Python.
Common issues
Honestly, there isn't much to troubleshoot on a node this small, and I won't invent failure modes for you. The things that actually bite:
- Unconnected input →
Noneoutput. Wireint_nbefore whatever consumesfloat_n, or the consumer errors on a missing value. - Only three lanes. Need more than three divisions? That's a job for the pack's script node, not this one.
- It's INT in. ComfyUI will convert a float you drag in, but the precision loss is on you - this node's job is the integer-to-hundredths hop.
One aside, because it deserves saying: centi is the most boring node in this pack, and that's its virtue. When the job is "integer → hundredths," you want the two-second solution that can't surprise you. This is it.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| int_1opt | INT | — | |
| int_2opt | INT | — | |
| int_3opt | INT | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| float_1 | FLOAT | — |
| float_2 | FLOAT | — |
| float_3 | FLOAT | — |