Nodes/ComfyUI-Artha-Nodes/πŸ”± Artha Math Number
ComfyUI Node

πŸ”± Artha Math Number

Turn any number into visible text in your workflow

By CyrostarΒ·Created 10 months agoΒ·Updated 8 months agoΒ· 0
πŸ”± Artha Math Number
    • number
    β—„numberβ€”β–Ί
    β—„textβ–Ί

    Artha Math Number is the πŸ”± Artha pack's number display node: it takes a number as text, shows it in the UI, logs it to the console, and passes it through. It's the "let me actually see the value" node for everything numeric in an Artha workflow.

    ComfyUI's weakness is visibility - tensors and numbers flow through wires invisibly, and when a workflow misbehaves you're often staring at a node wondering what value it actually had. This node is the pack's answer: wire any number in, and it renders as a readable widget in the graph so you can watch it change. The text input even lets you attach a label, which turns a bare number into "denoise: 0.65" at a glance.

    How it works

    The node takes number as a STRING input (force-input, so it's wired from a number source) and a text STRING (optional label, default empty). It prints the value to the console, pushes it into the UI as a displayed number, and outputs the same string on the number STRING output. It's marked as an output node, so it's meant as a terminal display - but because it passes the value through, you can also chain it.

    Note the input type: it's STRING, so wire it from a number node's number output (the Artha Math family always provides one) or any text. It's "displays integer and float numbers as text," as the node's own description says.

    Inputs that matter

    • number - the number as a string, force-input.
    • text - optional label to display alongside it.

    Output: number (STRING), the same value passed through.

    Installing it

    One-pack install, same as all Artha nodes:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Cyrostar/ComfyUI-Artha-Nodes
    pip install -r ComfyUI/custom_nodes/ComfyUI-Artha-Nodes/requirements.txt
    

    restart ComfyUI, or install "ComfyUI-Artha-Nodes" through ComfyUI Manager. No API key, no models - it's a display helper with a small bundled web widget.

    Common issues

    • Nothing shows in the node: the value display is a UI widget, so it appears after execution. If you're looking before a run, it'll look empty.
    • Wiring an INT/FLOAT directly fails: the input is STRING. Use the number string output from the pack's math nodes (or convert) rather than the raw typed output.
    • Console line missing: the print only fires when the node executes; if a branch never runs, it logs nothing.

    The verdict: the pack's "where did this number go?" answer. It's the debugging and dashboarding node of the Math family - nothing clever, but the kind of thing you're glad exists when you're tuning a value and want to see it live instead of guessing.

    CategoryArtha/Math

    Inputs (2)

    NameTypeDefaultDescription
    numberSTRINGβ€”
    textSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    numberSTRINGβ€”