MathMath.random(); // returns a number between 0 and 1 Math.floor(5.99); // rounds the float down to an intager