public static double[] ToArrayDouble(String str, char splitChar = ',') { String[] arr = str.Split(splitChar); double[] rv = new double[arr.Length]; for (uint i = 0; i < arr.Length; i++) { rv[i] = StringTool.ToDouble(arr, i); } return(rv); }
public static float[] ToArrayFloat(String str, char splitChar = ',') { String[] arr = str.Split(splitChar); float[] rv = new float[arr.Length]; for (uint i = 0; i < arr.Length; i++) { rv[i] = StringTool.ToFloat(arr, i); } return(rv); }