Revision: 23166
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 31, 2010 23:13 by liakwee
Initial Code
function randomNumber(low:int = 0, high:int = 0):int{ var low:int = low; var high:int = high; if(low == high) throw new Error("low & high value must be the same"); return Math.round(Math.random() * (high - low)) + low; }
Initial URL
Initial Description
Initial Title
Random number with range
Initial Tags
Initial Language
ActionScript 3