Arithmetic operators
In this first introduction to operators, we’ll introduce the operators you are most likely familiar with: arithmetic operators with two operands. Those operators assume the operands are both numbers.
+
performs an arithmetic sum:
Then we have the subtraction operator (-)
The multiplication operator *
:
The division operator /
:
And the remainder operator:
Last updated
Was this helpful?