420
submitted 1 year ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] jlh@lemmy.jlh.name 5 points 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.

this post was submitted on 03 Dec 2023
420 points (100.0% liked)

196

16809 readers
1226 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS