[JavaScript] Math

/* generates a random decimal number between 0 (inclusive) and up to 1 (exclusive). */
Math.random()

/* Round the number down to its nearest whole number. */
Math.floor()

/* Parse a string and return as integer.*/
var int = parseInt("020"); //returns 20