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
[-] amtwon@lemmy.world 13 points 1 year ago

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 11 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.

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

196

17163 readers
1759 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS