>In scool and university the notation was
>
>-24
>---*(-2)=(-24/4)*(-2)
> 4
>*or the other way
>-24
>---- = -24/(4*(-2))
>4*-2
>
>
You wrong. There is should be an extra parenthesis for classical math.
>If you use a programming language the result depends on the definitions.
I know all programming langugaes go by left-to-right. I never heard a language depends on the definitions?