• the link provided in the reference section, does that follows the actual BODMAS flow? in the table, the level 2 shows multiply first and then followed by division.. but in the BODMAS division comes first... ? when i broke statement and calculated i ended up with different results.

    We learned the mnemonic as "BOMDAS" and also that the Multiply and Divide, and the Add and Subtract, were pairs of items of equal precedence.

    Something like Bo[md][as]

    But I'm always aware that different programming languages, or indeed different programmers reading my code, might interpret expressions differently to me, even if I'm confident that I have them 'right'. So I use brackets extensively to try to avoid any ambiguity.