int rand = (int)(Math.random() * range) + min;
double rand = (Math.random() * range) + min;
(int)(Math.random() * max) + min; inclusive