Java CSV String Create toCSVString(double[] d)

Here you can find the source of toCSVString(double[] d)

Description

to CSV String

License

Open Source License

Declaration

public static String toCSVString(double[] d) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String toCSVString(double[] d) {
        String ret = "";
        for (int i = 0; i < d.length; i++) {
            ret += d[i] + ";";
        }/*from  www  . j a  v a 2 s . c om*/
        ret = ret.substring(0, ret.length() - 1);
        return ret;
    }
}

Related

  1. toCsv(Object[] arr, String format)
  2. toCsv(String value)
  3. toCSV3_2(double[][][] array, int index1, int index3)
  4. toCSVBuffer(byte barr[])
  5. toCsvLine(final String[] parts)
  6. toCsvString(Object object)
  7. toCSVString(Object[] pStringArray)
  8. toCSVString(String s)
  9. toCsvString(String text, char separator, char quote, String quoteEscaped)