> ## Documentation Index
> Fetch the complete documentation index at: https://reportana.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Math

We can also use the following operators to create approaches involving mathematical calculations.

**Currently supported mathematical operators:**

`+`: Adds two numbers (operands are converted to numbers if necessary).

*Example of use:*

```twig theme={null}
{# Addition #}
{{ 5 + 3 }} {# Returns 8 #}
```

`-`: Subtracts the second number from the first.

*Example of use:*

```twig theme={null}
{# Subtraction #}
{{ 10 - 4 }} {# Returns 6 #}
```

`/`: Divides two numbers.

*Example of use:*

```twig theme={null}
{# Division #}
{{ 10 / 2 }} {# Returns 5 #}
```

`%`: Calculates the remainder of an integer division.

*Example of use:*

```twig theme={null}
{# Remainder of integer division #}
{{ 11 % 7 }} {# Returns 4 #}
```

`//`: Divides two numbers and returns the integer result rounded down.

*Example of use:*

```twig theme={null}
{# Integer result rounded down #}
{{ 20 // 7 }} {# Returns 2 #}
{{ -20 // 7 }} {# Returns -3 #}
```

`*`: Multiplies the left operand by the right.

*Example of use:*

```twig theme={null}
{# Multiplication #}
{{ 2 * 6 }} {# Returns 12 #}
```

`**`: Raises the left operand to the power of the right operand.

*Example of use:*

```twig theme={null}
{# Exponentiation #}
{{ 3 ** 2 }} {# Returns 9 #}
```
