Arithmetic operators

Arithmetic operators are used to perform numeric calculations. The operators available are the following:

  • Addition: +
  • Subtraction: -
  • Multiplication: *
  • Division: /
  • Modulus: %
  • Shift left: -shl
  • Shift right: -shr

As well as numeric calculations, the addition operator may also be used with strings, arrays, and hashtables; the multiplication operator may also be used with strings and arrays.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.7.131