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

196

16477 readers
2218 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 7 months ago* (last edited 7 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).