Simple Math Dual(simpleMathDual)
A dual-formula calculator node that evaluates two independent math expressions.
simple Math Dual
Description
A dual-formula calculator node that evaluates two independent math expressions. Write both expressions in a single node, which is convenient for scenarios that need parallel computation or side-by-side comparison of results.
Inputs
value1 (STRING)
The first math expression, provided as a string input. Defaults to an empty string.
value2 (STRING)
The second math expression, provided as a string input. Defaults to an empty string.
a (ANYTYPE, optional)
A variable that can be referenced inside the formulas. Unconnected by default.
b (ANYTYPE, optional)
A variable that can be referenced inside the formulas. Unconnected by default.
c (ANYTYPE, optional)
A variable that can be referenced inside the formulas. Unconnected by default.
d (ANYTYPE, optional)
A variable that can be referenced inside the formulas. Unconnected by default.
Outputs
- INT: The integer result of evaluating the first formula (
value1). - FLOAT: The floating-point result of evaluating the first formula (
value1). - INT: The integer result of evaluating the second formula (
value2). - FLOAT: The floating-point result of evaluating the second formula (
value2).
Usage Notes
value1andvalue2are independent expressions that are evaluated separately, so they do not affect each other.- The variables
a,b,c, anddcan be used as named parameters inside the formulas and can be connected from upstream nodes with any value type. - The outputs provide both integer and floating-point results, making it easy to feed downstream nodes that require different numeric types.
Comments
Sign in with GitHub to join the discussion.