[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TS 2000 ELA Operator Precedence



PureBytes Links

Trading Reference Links

> I thought normal operator precedence was parenthesis, "*", and
> then "/" ?. 

I seem to remember seeing that precedence definition in some obscure 
language years ago, but it's not normal.  Most languages apply equal 
precedence to * and /.

E.g. try it in Excel.  =(2*3)/4*5 is 7.5, but =(2*3)/(4*5) is 0.3.  
Same thing in Visual Basic.

Gary