Glitch in the matrix - eviltoast
  • Justin@lemmy.jlh.name
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    By that logic: 8-2+4=2

    Of course, it could be kind of ambiguous, but typical convention gives multiplication/division the same priority, as it does addition/subtraction.

    And in general, you need to go left to right when dealing with division and subtraction, if other operations have the same priority.