Arithmetic Operators
Remember basic arithmetic from school? These work just like those.
Arithmetic Operators Example | Name | Result |
+$a | Identity | Conversion of $a to int or float as appropriate. |
-$a | Negation | Opposite of $a. |
$a + $b | Addition | Sum of $a and $b. |
$a - $b | S
|