# + arithmetic operator

The + arithmetic operator performs addition
or indicates a positive numeric value.

## Syntax

```
num.exp + num.exp
```

## Example(s)

Adds `1` to the
variable, `x`.

```
x = x + 1
```
Adds the values in the variables `price` and `tax` and assigns the result to `subtotal`.

```
subtotal = price + tax
```
This is a complex arithmetic statement that first multiplies
the `unit.cost` by `qty` and then adds
the results to the variable called `tax`. The left
and right parentheses are used to explicitly group precedence.

```
subtotal = tax + (unit.cost * qty)
```

## See also

- [* arithmetic operator](https://d3codex.com/pickbasic-flashbasic/asterisk-arithmetic-operator/)
- [- arithmetic operator](https://d3codex.com/pickbasic-flashbasic/minus-arithmetic-operator/)
- [-= assignment operator](https://d3codex.com/pickbasic-flashbasic/minus-equals-assignment-operator/)
- [Arithmetic expressions](https://d3codex.com/pickbasic-flashbasic/arithmetic-expressions/)
- [Arithmetic operators](https://d3codex.com/pickbasic-flashbasic/arithmetic-operators/)
- [Assignment](https://d3codex.com/pickbasic-flashbasic/assignment/)
- [Numeric expressions](https://d3codex.com/pickbasic-flashbasic/numeric-expressions/)
- [Precedence](https://d3codex.com/pickbasic-flashbasic/precedence/)
- [precision statement](https://d3codex.com/pickbasic-flashbasic/precision-statement/)
- [Relational operators](https://d3codex.com/pickbasic-flashbasic/relational-operators/)
- [sum() function](https://d3codex.com/pickbasic-flashbasic/sum-function/)

---
Source: https://d3codex.com/pickbasic-flashbasic/plus-arithmetic-operator/ - part of the D3Codex reference.
