i have no idea to return multiple statement.

public double[] compute(double[] times)
  {
  	double[] t = this.Portion(times);
  	
  	 
  	double aa = this.computeTime(180-19.5,t[0]);
  	double bb = this.computeMidDay(t[1]);
  	double cc= this.computeAs(1 + asrJuristic, t[2]);
  	double dd = this.computeTime(0, t[3]);

}

how to return all double " aa, bb, cc, dd" in this function???

pack result in the double array
the same way as does the method:

this.Portion(times);

thanks quuba.. i already get a solution.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.