SimpleCalculatorKJ

SimpleCalculatorKJ

Calculator node that evaluates a mathematical expression using inputs a and b. Supported operations: +, -, *, /, //, %, **, <<, >>, unary +/- Supported comparisons: ==, !=, <, <=, >, >= Supported logic: and, or, not Supported functions: abs(), round(), min(), max(), pow(), sqrt(), sin(), cos(), tan(), log(), log10(), exp(), floor(), ceil() Supported constants: pi, euler, True, False

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (2)

NameTypeRequired
expressionSTRINGrequired
variablesCOMFY_AUTOGROW_V3required

Outputs (3)

NameType
FLOATFLOAT
INTINT
BOOLEANBOOLEAN