You are on page 1of 3

Formula Logical meaning if () is not used Output Precedence of operators

=3*2^2 =3*(2^2) 12 1st raised to the power, 2nd multiply


=8/2^2 =8/(2^2) 2 1st raised to the power, 2nd divide
=11/10-1 =(11/10)-1 0.10 1st divide, 2nd subtract
=11*10+10 =(11*10)+10 120 1st multiply, 2nd add
=1+2&2 =(1+2)&2 32 1st add, 2nd concatenate
=C2=-12+24 =C2=(-12+24) 1 1st add, 2nd check whether C2=12 or not
Precedence can change by using () Output
=(3*2)^2 36
=(8/2)^2 16
=11/(10-1) 1.22
=11*(10+10) 220
=1+(2&2) 23
=(F2=36)+48 49
How the precedence of operators changes when you use ()
1st multiply, 2nd raised to the power
1st divide, 2nd raised to the power
1st subtract, 2nd divide
1st add, 2nd multiply
1st concatenate, 2nd add
1st check whether F2=36 or not (if it's TRUE then it's considered as 1), 2nd add

You might also like