Allocate
Workflow Blocks

Calculation

Compute values from other variables using math or text expressions.

Calculation creates new variables from existing ones — a total from a quantity and a price, or a full name from first and last names.

When to use it

Use it whenever a later step needs a value that isn't asked for directly but can be worked out from earlier answers.

Settings

Add one or more variables. Each has:

SettingWhat it does
Variable nameThe label shown in the variable picker. The key is generated from it.
TypeNumber evaluates arithmetic; Text inserts variables into a string.
ExpressionType @ to insert variables, e.g. @F1.qty * @F1.price or @F1.first @F1.last.

Number expressions support + - * /, brackets and these functions:

FunctionResult
round(x, digits)Round to digits decimal places (0–10). Leave out digits for a whole number.
floor(x)Round down.
ceil(x)Round up.
abs(x)Absolute value.
sqrt(x)Square root.
pow(x, y)x to the power of y.
min(a, b, …)Smallest value.
max(a, b, …)Largest value.

Variables

With marker K1, one per configured variable:

VariableTypeNotes
K1.<key>Number or TextThe panel shows each variable's path under "Exposed as".

Paths

One output.

Example

round(@F1.qty * @F1.unit_price * 1.09, 2) as Total incl. tax gives K1.total_incl_tax, which an Add Record step can save.