# -= operator

Source: https://ref.dm-lang.org/operator/minusequals

### Format
> `A -= B`

Set A equal to A - B. It is shorthand for A = A - B.

If A is an /icon, /matrix, pixloc, or vector, it will be changed rather than creating a new value and re-assigning it to A.

### See also
- [\*= operator](https://ref.dm-lang.org/operator/asteriskequals.md)
- [+= operator](https://ref.dm-lang.org/operator/plusequals.md)
- [- operator](https://ref.dm-lang.org/operator/minus.md)
- [/= operator](https://ref.dm-lang.org/operator/slashequals.md)
- [= operator](https://ref.dm-lang.org/operator/equals.md)
- [operators](https://ref.dm-lang.org/operator/index.md)
