Programs have built-in math helpers. ABS gives the absolute value, which means it drops a minus sign: for example, many BASICs would show that ABS(-3) becomes 3. Another helper, INT, keeps only the whole part of a number so INT(3.7) becomes 3.
SQR finds a square root so SQR(9) is 3. RND gives a random number like 0.2 or 0.9; you can use it to pick things at random. Some versions also had more advanced helpers (like trig or logs) for special math, but ABS, INT, SQR, and RND are the basic tools you meet first.