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; //
}
遅くて、たぶん私はまっすぐに考えることができません. double[]
aに a を掛けることはできないと言っているだけdouble
です。