public double getRandKg(double[] value)
{
double min = 0.0;
double max = 0.0;
value * 0.90 = min; <------ this is where it says bad operand
value * 1.10 = max; types for binary operator '*'
Random r = new Random(); first type double[] second type double
double randomValue = min + (((max-min)+1) * r.nextDouble());
return randomValue; //
}
It's late and maybe I just can't think straight. It's just saying I can't multiply a double[]
by a double
?