• synae[he/him]@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 year ago

    PEMDAS is actually (PE)(MD)(AS). Those that are grouped together have equal precedence and are evaluated left to right.

    8 / 2 * (2+2)

    8 / 2 * 4

    4 * 4

    16

    Edit to fix formatting, maybe?