Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Arithmetic expressions, Multi-value Arithmetic operators

Example

 
Code Block
24 /2 * 4
The result will be 48.  Multiplication and division have the same priority.
24 / ( 2 * 4 ) = 3
The result will be 3.  The expression within the parentheses is evaluated first.