Nodes/ComfyUI Text Processor/Simple Eval Integers
ComfyUI Node

Simple Eval Integers

Evaluates a numeric expression with integer inputs and returns int, float, and string forms.

By rookiestar28·Created 9 months ago·Updated 2 months ago· 16
Simple Eval Integers
    • INT
    • FLOAT
    • STRING
    python_expression((a + b) - c) / 2
    print_to_console
    a0
    b0
    c0
    CategoryComfyUI Text Processor/Logic

    Inputs (5)

    NameTypeDefaultDescription
    python_expressionSTRING((a + b) - c) / 2
    print_to_consoleCOMBO2 options: False, True
    aoptINT0-9223372036854776000–9223372036854776000
    boptINT0-9223372036854776000–9223372036854776000
    coptINT0-9223372036854776000–9223372036854776000

    Outputs (3)

    NameTypeDescription
    INTINTInteger result.
    FLOATFLOATFloat result.
    STRINGSTRINGString representation of the result.