# Evaluate

This is a pre-built Action located under the **@Generic Element**. The functionality of this Action in Avo Assure is to execute a mathematical operation based on the provided input value and store the result in a dynamic variable.

{% hint style="info" %}
An operand is the value or data that an operator acts upon. It can be a constant (number, string, etc.)

An operator is a mathematical symbol or keyword that performs a specific operation on two or more operands.
{% endhint %}

### Syntax

**Input Value:** `(<operand1>;<operator>;<operand2>)`

| Argument                            | Description                                                    |
| ----------------------------------- | -------------------------------------------------------------- |
| <p>\<operand1> <br>(Required)</p>   | The first operand. Can be a static value or dynamic variable.  |
| <p>\<operator></p><p>(Required)</p> | The mathematical operator to be applied.                       |
| <p>\<operand2> <br>(Required)</p>   | The second operand. Can be a static value or dynamic variable. |

#### Supported Operators

| Operator | Meaning        |
| -------- | -------------- |
| +        | Addition       |
| -        | Subtraction    |
| /        | Division       |
| ^        | Exponentiation |
| \*       | Multiplication |

#### Output Value

| Argument                                 | Description                                             |
| ---------------------------------------- | ------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This variable stores the final computed result.         |
| <p>\<Dynamic Variable><br>(Optional)</p> | This variable holds the result as **Ture** or **False** |

**Example** **1**

**Performs a mathematical calculation using the specified operands and operator**

The **Evaluate** action takes the value from the Input Value column (e.g., **23\*4**) and performs the defined arithmetic operation. The result of the evaluation is stored in the **{Evaluate}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** – if the evaluation is completed successfully.
* **False** – if the evaluation fails

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FixSSCDoXIL7gURyqFKYs%2Fimage.png?alt=media&#x26;token=3018ed8d-96a2-460b-ac07-c8fd14922d5f" alt=""><figcaption></figcaption></figure>

**Additional Examples**&#x20;

| Supported Operators         | Input syntax   | Result       |
| --------------------------- | -------------- | ------------ |
| **+** (**Addition**)        | **(50+37)**    | **87**       |
| **-** (**Subtraction**)     | **(169-7)**    | **162**      |
| **/**  (**Division**)       | **(43569/67)** | **650.28**   |
| **^**  (**Exponentiation**) | **(35865^75)** | **52521875** |
| **\*** (**Multiplication**) | **(23\*4)**    | **92**       |
