public static double getRandomDouble(double min, double max) {
		Random r = new Random();
		return min + (max - min) * r.nextDouble();
	}
public static double getRandomDouble ( double min , double max ) { Random r = new Random ( ) ; return min + ( max - min ) * r . nextDouble ( ) ; }
Returns a random double between MIN inclusive and MAX inclusive.

@param min
value inclusive
@param max
value inclusive
@return an int between 0 inclusive and MAX exclusive.