Game Maker Programming/Mathematical calculations

GameMaker can perform mathematical functions on integers, on variables containing integers. Writing in code:

2*2

would equal 4. If a=2, then:

a*a

would also equal 4. Game Maker can perform basic addition, multiplication, subtraction and division, as well as square rooting, as shown below:

sqrt(integer);