This page will show you the various mathematical operators you can use in PHP!
The list of operators are:
- +: Addition
- -: Subtraction
- *: Multiplication
- /: Division
- %: Modulo (Returns the remainder after division)
- ++: Increment (Adds 1 to the value)
- --: Decrement (Subtracts 1 from the value)
Examples:
5+924 = 929
(95*174)/10 = 1653
(19584*9847)%5 = 3
19-200 = -181
1/3 = 0.333