403
submitted 11 months 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 11 months 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
403 points (99.8% liked)

196

16491 readers
1659 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS