How to use the square function
rSquare : =sqr (4);
How to use square root of function
rRoot:= Sqrt(16);
How to use run function
rRounded:= round(number);
How to use trunk function
iTrunc:= Trunc(number);
How do use random function
rNum:= Random;
Or
rNum:=Random(number) +1;
Div
Divides the first number by the second and then discards the remainder
Mod
Divides the first number by the second then keep only the remainder