malformed floating point literal
if i do this, its ok:
double c = 5e+2;
but if instead i do this, gives me that error msg:
int k1 = (int)(Math.random() * 3);
int ax = k1;
double c = 5e+ax;
why?
thanks in advance
if i do this, its ok:
double c = 5e+2;
but if instead i do this, gives me that error msg:
int k1 = (int)(Math.random() * 3);
int ax = k1;
double c = 5e+ax;
why?
thanks in advance