Nodes/ComfyUI Level Pixel/Simple Float Slider - Tenths Step [LP]
ComfyUI Node

Simple Float Slider - Tenths Step [LP]

A 0.0–1.0 dial that snaps to clean values

By LevelPixel·Created 2 years ago·Updated 6 months ago· 31
Simple Float Slider - Tenths Step [LP]
    • FLOAT
    number0.0

    There's no shortage of ways to get a float value into a ComfyUI graph, but a plain number widget invites you to type 0.73824 when what you actually wanted was 0.7. This node exists to stop that: a slider from 0.0 to 1.0 that only moves in steps of 0.1, so whatever you drag it to is already a clean, round number.

    What it is and why you'd reach for it

    This is one of three sliders the pack ships under the "Simple Float Slider" umbrella - a plain 0.0–1.0 slider, this tenths-step version, and a hundredths-step version for finer control. The core logic is credited in the README to comfyui-mixlab-nodes. You'd reach for the tenths version specifically when the value you're driving is naturally coarse-grained - a blend weight, a denoise strength, an opacity, anything where "0.6" versus "0.7" is a meaningfully different setting but "0.61" versus "0.62" is noise you don't need to be able to dial in. It's a small thing, but it removes a class of mistake: fat-fingering an extra decimal digit into a strength value and not noticing until the output looks subtly wrong.

    The input and output that matter

    There's exactly one control here:

    • number (required, float) - ranges 0 to 1, stepping by 0.1, defaulting to 0.

    Output: a single FLOAT - wire it into whatever widget or input in your graph expects a 0–1 strength, weight, or blend value.

    Installing it

    Through ComfyUI Manager, search "ComfyUI Level Pixel" or "ComfyUI-LevelPixel." Manual route:

    cd ComfyUI/custom_nodes
    git clone https://github.com/LevelPixel/ComfyUI-LevelPixel.git
    

    Restart ComfyUI. No models, no dependencies beyond the pack itself - it's a UI widget.

    Common issues & troubleshooting

    The step size doesn't behave the way you expect. The README is explicit about this one, and it's the only real gotcha with this node: the tenths (and hundredths) step sliders only work correctly if you haven't changed "Float widget rounding decimal places" in ComfyUI's own settings. If you've ever tweaked that setting for another reason and this slider starts snapping to values that don't look like clean tenths, that's almost certainly why - set the rounding-decimal-places option back to 0 and the stepping should return to normal.

    You need finer control than tenths, or none at all. This node caps at 0.1 increments by design - that's the entire point of it. If you need hundredths-level precision, the pack's "Simple Float Slider - Hundredths Step" sibling is the one to use instead. If you need the full unclamped 0–1 range with no stepping restriction at all, the plain "Simple Float Slider" (without a step suffix) is the base version.

    The min/max range feels too narrow for your use case. Both bounds are fixed at 0 and 1 and aren't exposed as adjustable on the node's interface - the README notes you can only change that inside the Python source itself if you genuinely need a different range, which isn't a beginner-friendly path. If your value naturally lives outside 0–1 (say, a CFG-adjacent number that goes well above 1), a plain number/float widget elsewhere in the graph is the simpler tool for that, not this slider.

    CategoryLevelPixel/IO

    Inputs (1)

    NameTypeDefaultDescription
    numberFLOAT0.00–1

    Outputs (1)

    NameTypeDescription
    FLOATFLOAT