Revision: 55863
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 25, 2012 02:55 by jrobinsonc
Initial Code
/* Receives the lowest and highest values of a range and returns a random integer that falls within that range. */ function random_integer(low, high) { return low + Math.floor(Math.random() * (high - low)); }
Initial URL
Initial Description
Usage: random_integer(1,100);
Initial Title
Generate random integer
Initial Tags
Initial Language
JavaScript