math_operation
VariablesPerforms arithmetic operations on numeric variables.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
left_operand | string | Yes | — | Left value or variable reference |
operator | string | Yes | — | Arithmetic operator
Options: +, -, *, /, % |
right_operand | string | Yes | — | Right value or variable reference |
output_variable | string | Yes | — | Variable to store the result |
Usage Example
RTILA X PROJECT JSON
{
"command": "math_operation",
"params": {
"left_operand": "price",
"operator": "+",
"right_operand": "20",
"output_variable": "adjusted_price"
}
}
Related Scenarios
- View /scenarios/variables/4 · variables
Related Learning Articles
Was this helpful?
Thank you for your feedback!