text: If there are parenthesis always do parenthesis first.  If no parenthesis multiplication and division always get done first and addition and subtraction next from left to right.  \n\nFor example a+b*c = a+(b*c) which is like your example.\n\nBut a*b+c would be (a*b)+c\n\nHope this helps.