Math
Perform mathematical operations. Math node in ActionFlows. Inputs, outputs, and how to use it.
Math
Overview
Perform mathematical operations.
Inputs
Standard Inputs
Expressiontext · required
The mathematical expression to evaluate
- Required
- Yes
- Multiple
- No
Precisionnumber · optional
Number of decimal places to round the result to
- Required
- No
- Multiple
- No
- Default
2- Constraints
- min: 0 · max: 10 · step: 1 (decimal places)
Variablesjson · optional
Variables to substitute in the mathematical expression
- Required
- No
- Multiple
- No
Outputs
Errortext
Error message if expression is invalid
Is Validboolean
Whether the expression is valid
Resultnumber
The result of the mathematical expression