5
#57
Gast
Hi ich würd gern wissen wie man dieses kürzen könnte, im Sinne von z[] = Math.random(); & z[] = z[]*1000000;
Hoffe ihr wisst was ich meine :bahnhof:
THX im voraus :toll:
Hoffe ihr wisst was ich meine :bahnhof:
THX im voraus :toll:
Code:
double z[] = new double[4];
z[0] = Math.random();
z[1] = Math.random();
z[2] = Math.random();
z[3] = Math.random();
z[0] = z[0]*1000000;
z[1] = z[1]*1000000;
z[2] = z[2]*1000000;
z[3] = z[3]*1000000;