Altering the order of mathematical operations with parentheses

Since parentheses have higher mathematical priority than other operations, then it is possible to alter the order of mathematical operations with these. For example addition of two numbers have lower priority than multiplication, however placing addition operation inside parentheses will make this operation a priority.

2*(3+4) will be equal 2*7, 3+4 operation needs to be done first.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator