Any To FLOAT 🔽
A type bridge, not a number converter
- any
- FLOAT
Any To FLOAT is one of the Telegram Suite's twenty type converters, and like all of them it's a pure relabel: whatever comes in on any goes straight out, now declared as a FLOAT. No arithmetic, no rounding, no value change. If you feed it a string, the output is still the string - ComfyUI just thinks it's a float. Which is exactly the point.
Why you'd use it
Its job is to unblock wires when ComfyUI's strict type checking gets in the way. The most common case in this pack: the trigger mechanism (the suite's way of forcing execution order - full explanation in the Send Chat Action article) passes signals through * (wildcard) typed ports. After a trigger output, a port expecting FLOAT - a CFG scale, a denoise strength, a guidance value - will refuse a wildcard wire. Any To FLOAT re-declares the signal as a float so it plugs in. Same value, acceptable type, done.
It's also the generic fix when any other node hands you a * output and you need a float-typed port downstream. The one thing to actually be careful about: since there's no conversion happening, if the upstream value isn't numerically meaningful (it's a prompt string, say), the downstream node will do whatever it does with it - the converter won't save you from feeding nonsense into a sampler.
The honest take
Like the rest of the converter family, this node exists for one specific design decision: the author found wildcard triggers to be the only reliable way to control execution order, and strict typing forced a small fleet of adapter nodes. Use the trigger system and you'll occasionally need this. Never touch triggers and you'll probably never open it. That's not a flaw in the pack - it's just what "type adapter for an ordering trick" looks like. When you do need it, there are no settings to fumble: one any input, one FLOAT output.
Install
Shared pack install, nothing special:
cd ComfyUI/custom_nodes
git clone https://github.com/SwissCore92/comfyui-telegram-suite.git
cd comfyui-telegram-suite
pip install -r requirements.txt
Or install "ComfyUI Telegram Suite" via ComfyUI Manager. All converters live in the pack's converters.py, so there are no extra dependencies or model downloads for this (or any) converter node.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| any | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | — |