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

196

16555 readers
1874 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] SmartmanApps@programming.dev 1 points 8 months ago* (last edited 8 months ago) (1 children)

Division and multiplication are equal in the order of operations

I didn't say they weren't. I said...

Doing division before brackets goes against the order of operations rules

You did 8/2x4, which is the same as (8/2)(2+2), which isn't the same as 8/2(2+2)=8/2(4)=8/(2x4).