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

196

16501 readers
22 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
[โ€“] amtwon@lemmy.world 13 points 11 months ago (1 children)

not to be That Guy, but the phone is actually correct... multiplication and division have the same precedence, so 8 / 2 * 4 should give the same result as 8 * 4 / 2, ie 16

[โ€“] SmartmanApps@programming.dev 2 points 7 months ago

but the phone is actually correct

No, it's actually wrong.

8 / 2 * 4

It's 8/(2x4). You can't remove brackets unless there is only 1 term left inside.