Search code examples
androidapp-inventor

Math Operations in App Inventor 2


Does anyone know any block in App Inventor 2 that acts like parentheses which will allow the computer to do those calculations first?


Solution

  • this depends on how you are nesting the blocks

    the first example calculates (2+3) x 4 = 20
    the second example calculates 2 + (3 x 4) = 14

    enter image description here