βΎοΈπβ¨ String to Float
When your number arrives wearing a string costume
- FLOAT
Somewhere in your workflow a value becomes text. Maybe it came from a prompt parser, a metadata node, a filename, or a UI input that only speaks strings. And then a math node wants a float. ESS String to Float is the tiny bridge: give it a string like "3.5" and it hands back the float 3.5, ready for a CFG input, a guidance scale, or any formula expecting a number.
It's part of the Endless pack's branded converter family (βΎοΈπβ¨ "ESS" nodes). Where the pack's other converters shuffle between numeric types, this one crosses the string/number boundary - the exact spot where graphs tend to fail silently, because the wire connects (string to string) but the value is meaningless to the downstream node.
Inputs and outputs
StringValue- the one input, a STRING, default empty.FLOAT- the one output.
Mechanically it parses the string with a float conversion: "3.5" β 3.5, "0" β 0.0. The failure mode is worth knowing - feed it something that isn't a number ("hello", an empty string, "3.5 px") and the parse fails. Expect a Python ValueError from the node rather than a graceful fallback, so keep the input clean.
When you'll actually use it
The realistic case is downstream of anything that assembles numbers as text - a prompt-to-parameter workflow, a loader that returns metadata strings, or a saved-parameters node whose outputs are strings for filename friendliness. Rather than adding a parser mid-graph, you pull the number you need and convert it here. It's the same family as Number to Integer and Float to Integer; pick the one matching your source type and target type.
Installing it
Part of Endless πβ¨ Nodes by tusharbhutt:
cd ComfyUI/custom_nodes
git clone https://github.com/tusharbhutt/Endless-Nodes
# restart ComfyUI
Or ComfyUI Manager β search "Endless". No dependencies or model files.
Gotchas
The input must be a clean numeric string - whitespace and junk will fail the parse. And the standing pack caveat: one maintainer, AI-assisted, mid-2025 rewrite. The converter is trivial, but if you need this bridge and aren't otherwise an Endless user, several general utility packs provide string-to-number conversion without the extra install.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| StringValue | STRING | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| FLOAT | FLOAT | β |