Double [][]
Hi,
I have a collection returned from database which has 3 columns,
1st col - double value
2nd col - double value
3rd col - string
after iterating this collection i need to store these values in this format
double[][] data = new double[2][] ----- 1st and 2nd col values into this array
String[] series = new String[] ---- 3rd column into this array
in this format..
double[][] data = new double[2][];
data[0] = new double[] { 70, 250, 320, 265 };
data[1] = new double[]{ 85, 304, 201, 201 };
String[] series = new String[] { "Actual", "Budget" ,"Trade","Loan" };
i used toArray() for getting string array ..how can i do for double..
|