title: Converting an int array into a single string
body: <p>It might look to be simple enough but I could not find an answer to it... I want to convert an array of doubles into single string in JSP (which is the same as in java I suppose)</p>
  
  <p>So if I have an array: </p>
  
  <pre><code>double[] Array={1.6, 2.8, 3, 4.8, 5, 6, 7, 8.8, 9, 10, 11, 12};
  </code></pre>
  
  <p>How will I convert it into a single string: </p>
  
  <pre><code>String str;
  </code></pre>
  
  <p>for example!?</p>
  
  <p>String str = Arrays.toString(Array) as many suggested did not work since jsp is a bit different to java I suppose...
  Soved it now this way:</p>
  
  <pre><code>String str = ""; 
  for(int i = 0; i&lt;12; i++)
  {
      nums += Double.toString(Array[i]) + ",";
  }
  </code></pre>