Skip to content

Math operators2

Math Operators

* Add: +
* Subtract: -
* Multiply: * 
* Divide: /  # Always creates a floating point answer
* Exponent: ** # example 2**3 gives 8

Order of operation - PEMDAS

  • Parentheses
  • Exponent
  • Multiplication
  • Division
  • Addition
  • Subtraction

Multiplication and Division are actually the same, as are addition and subtraction, so that whichever is leftmost of multiplication and division will be executed first. Same for addition and subtraction.