# Assignment expressions

Assignment expressions are used to assign a value to an identifier.

An assignment expression can be structured in two ways:

* ```
  identifier = expression
  ```
* ```
  let identifier = expression
  ```

The result is the same with both syntaxes. The let keyword can be used to make sure that the assignment expression cannot be interpreted as a comparison expression.

The value can be any of the supported data types, as well as an expression. For example:

```
PI = 3.1415f
let preferences.color = 'yellow'
stats.average = (data.a + data.b) / 2
LET message = concat(string.a, ' ', string.b)
```