Here you can find the source of arrayOffloatAsCSStrings(float[] ar)
public static String arrayOffloatAsCSStrings(float[] ar)
//package com.java2s; public class Main { public static String arrayOffloatAsCSStrings(float[] ar) { String res = ""; for (int i = 0; i < ar.length - 1; i++) { res += Float.toString(ar[i]) + ","; }/*from w w w . ja v a 2 s .co m*/ res += Float.toString(ar[ar.length - 1]); return res; } }