Nodes/Endless ️🌊✨ Nodes/β™ΎοΈπŸŒŠβœ¨ Float to X
ComfyUI Node

β™ΎοΈπŸŒŠβœ¨ Float to X

Float to X β€” one float in, int + number + string out, all at once

By tusharbhuttΒ·Created 3 years agoΒ·Updated about a year agoΒ· 69
β™ΎοΈπŸŒŠβœ¨ Float to X
    • INT
    • NUMBER
    • STRING
    β—„FloatValue0.00β–Ί

    The β™ΎοΈπŸŒŠβœ¨ Float to X is the pack's "give me every flavor" converter: you feed it one float and it hands you the same number as an integer, a NUMBER, and a string. Three outputs, one input, no configuration. It's the version of the converter family worth reaching for, because it's the one that actually works and covers all the bases.

    You'd use this in the classic glue situations. A sampler output is a float; the node feeding your filename needs a string. A LoRA weight is a float; the widget that takes a number wants the NUMBER type. Instead of three single-purpose cast nodes cluttering the graph, one of these covers all of it, and you just grab the socket you need.

    How it works

    One input:

    • FloatValue - type FLOAT.

    Three outputs:

    • INT - int(FloatValue), so the float gets truncated, not rounded. 3.9 becomes 3.
    • NUMBER - the float unchanged, typed so it plugs into either INT or FLOAT sockets.
    • STRING - str(FloatValue), so 3.5 becomes "3.5".

    The one thing to remember is that truncation on the INT output: if you're converting a denoise strength or a weight and you actually need a rounded integer, int() just chops the decimals. That's usually what you want for a step count or a seed; it's a silent surprise if you expected rounding.

    Installing it

    Standard pack install:

    • ComfyUI Manager β†’ Install Custom Nodes β†’ search "Endless" / "Endless-Nodes".
    • Or clone it in:
    cd ComfyUI/custom_nodes
    git clone https://github.com/tusharbhutt/Endless-Nodes
    

    Restart ComfyUI. The pack declares no top-level pip dependencies, so there's nothing extra to babysit.

    The honest caveat

    Legacy alert: the ESS prefix marks the pre-June-2025 version of Endless-Nodes. The author's own changelog says he "blew everything up and removed all the old nodes" that month, and this class doesn't ship in a current install - old workflows referencing it may show a missing-node error. You'll find it in cached snapshots and archived workflows, which is exactly how most people meet it.

    If you're building fresh, the practical advice is the same as the intent: this node is fine, but it's a type cast, and ComfyUI's core now has built-in conversion utilities for most of these cases. Keep it around when you're maintaining an old Endless workflow; don't build your next workflow around a converter from a pack whose author openly says "there are no promises that these nodes will work for you." It works, but "works" is the whole bar it's clearing.

    CategoryEndless 🌊✨/Converters/Float

    Inputs (1)

    NameTypeDefaultDescription
    FloatValueFLOAT0.00β€”

    Outputs (3)

    NameTypeDescription
    INTINTβ€”
    NUMBERNUMBERβ€”
    STRINGSTRINGβ€”