▶ ARITHMETIC FUNCTIONS REFERENCE

Arithmetic function, is a function that has two parameters (operands): left, right.
It does an arithmetic or boolean calculation, and returns the result.

Arithmetic function format:

If

There are also double operators, for ex.: '++', that causes the left operand to get the result of the operation. Meaning,

Arithmetic function format (double operator):

In cases where

Arithmetic function format:

left OP right → result

`left, right`

- The operands. Can be any scalar variable.`OP`

- An operator of arithmetic type.`result`

- An arithmetic operation, or boolean meaning of it (by Tyl conventions!).If

`a`

and `b`

are the operands, than a plus operation will look like:
```
a + b
```

There are also double operators, for ex.: '++', that causes the left operand to get the result of the operation. Meaning,

`left`

will be **modified**Arithmetic function format (double operator):

left [OP][OP] right → resultIf

`a`

and `b`

are the operands, than a double plus operation will look like:
```
a ++ b
```

In cases where

`left`

and `right`

**can't yield result**from an operation, the result will be:**left**

.
+ operator

- numbers - sum of numbers
- strings - concatenated strings
- string and non-string - concatenated string representation of operands
- booleans - boolean OR operation

++ operator

- left number only - left is incremented by 1
- numbers - sum of numbers
- strings - concatenated strings
- string and non-string - concatenated string representation of operands
- booleans - boolean OR operation

- operator

- numbers - subtraction of numbers
- booleans - left OR NOT right

-- operator

- left number only - left is decremented by 1
- numbers - subtraction of numbers
- booleans - left OR NOT right

* operator

- numbers - multiplication of numbers
- booleans - left AND right

** operator

- numbers - multiplication of numbers
- booleans - left AND right

/ operator

- numbers - division of numbers (if right is not zero!), otherwise - left
- booleans - left AND NOT right

// operator

- numbers - division of numbers (if right is not zero!), otherwise - left
- booleans - left AND NOT right