ComfyUI Node
Simple Eval Floats
Evaluates a numeric expression with float inputs and returns int, float, and string forms.
Simple Eval Floats
- INT
- FLOAT
- STRING
◄python_expression((a + b) - c) / 2►
◄print_to_console▾►
◄a0.00►
◄b0.00►
◄c0.00►
CategoryComfyUI Text Processor/Logic
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| python_expression | STRING | ((a + b) - c) / 2 | — |
| print_to_console | COMBO | 2 options: False, True | |
| aopt | FLOAT | 0.00 | — |
| bopt | FLOAT | 0.00 | — |
| copt | FLOAT | 0.00 | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| INT | INT | Integer-cast result. |
| FLOAT | FLOAT | Float result. |
| STRING | STRING | String representation of the result. |