Java losowe podwójne między 0 a 1
Random r = new Random();
double randomValue = r.nextDouble(); // returns double between 0 and 1
PeruTilli
Random r = new Random();
double randomValue = r.nextDouble(); // returns double between 0 and 1