Search K
Appearance
Appearance
Performs arithmetic, statistical, trigonometric, or expression-based calculations and returns the numeric result.
Use Math Operations any time a workflow needs to compute a value from numeric inputs — for example, calculating a percentage, incrementing a counter inside a loop, rounding a measurement to a required precision, or evaluating a complex multi-step formula in a single expression. Two modes are available: Traditional for discrete named operations, and Expression for free-form mathematical expressions.
| Field | Type | Required | Description |
|---|---|---|---|
| Operation Mode | Dropdown | No | Selects the input style. Traditional exposes discrete operation and value fields. Expression exposes a free-text formula field. Defaults to Traditional. |
| Expression | Multi-line Text | No | A mathematical expression to evaluate. Supports standard operators and functions such as sqrt, abs, round, min, max, pow, sin, cos, tan, log, log10. Visible when Operation Mode is Expression. |
| Operation | Dropdown | No | The specific calculation to perform. Visible when Operation Mode is Traditional. |
| Value1 | Text | No | First numeric operand. For Random, this is the minimum. For Clamp, this is the value to constrain. Visible when Operation Mode is Traditional. |
| Value2 | Text | No | Second numeric operand. Required for Add, Subtract, Multiply, Divide, Modulo, Power, Min, Max, PercentageOf, AsPercentageOf, and Random. Not used for single-operand operations. Visible when Operation Mode is Traditional. |
| Precision | Text | No | Number of decimal places to round to. Visible when Operation is Round. |
| MinValue | Text | No | Lower boundary for the Clamp operation. Visible when Operation is Clamp. |
| MaxValue | Text | No | Upper boundary for the Clamp operation. Visible when Operation is Clamp. |
Expression is visible when Operation Mode is Expression. Operation, Value1, and Value2 are visible when Operation Mode is Traditional. Precision is visible when Operation is Round. MinValue and MaxValue are visible when Operation is Clamp.
| Operation | Description |
|---|---|
| Add | Adds Value1 and Value2. |
| Subtract | Subtracts Value2 from Value1. |
| Multiply | Multiplies Value1 by Value2. |
| Divide | Divides Value1 by Value2. Value2 must not be zero. |
| Modulo | Returns the remainder of Value1 divided by Value2. |
| Power | Raises Value1 to the power of Value2. |
| SquareRoot | Returns the square root of Value1. |
| Round | Rounds Value1 to the number of decimal places specified in Precision. |
| Floor | Returns the largest integer less than or equal to Value1. |
| Ceiling | Returns the smallest integer greater than or equal to Value1. |
| Absolute | Returns the absolute (non-negative) value of Value1. |
| Min | Returns the smaller of Value1 and Value2. |
| Max | Returns the larger of Value1 and Value2. |
| Clamp | Constrains Value1 to the range defined by MinValue and MaxValue. |
| PercentageOf | Calculates Value1 percent of Value2. |
| AsPercentageOf | Expresses Value1 as a percentage of Value2. Value2 must not be zero. |
| Random | Generates a random decimal number between Value1 (minimum) and Value2 (maximum). |
| Sin | Returns the sine of Value1 (in radians). |
| Cos | Returns the cosine of Value1 (in radians). |
| Tan | Returns the tangent of Value1 (in radians). |
| Log | Returns the natural logarithm of Value1. Value1 must be positive. |
| Log10 | Returns the base-10 logarithm of Value1. Value1 must be positive. |
| Name | Description |
|---|---|
| Result | The numeric result of the calculation. |
| Field | Value |
|---|---|
| Operation Mode | Traditional |
| Operation | Add |
| Value1 | 10 |
| Value2 | 3 |
| Result | 13 |
| Field | Value |
|---|---|
| Operation Mode | Expression |
| Expression | sqrt(16) + pow(2, 3) |
| Result | 12 |
| Field | Value |
|---|---|
| Operation Mode | Traditional |
| Operation | Round |
| Value1 | 10.05203 |
| Precision | 2 |
| Result | 10.05 |