Java tutorial
//package com.java2s; //License from project: Apache License public class Main { public static double[] StrArrayToDouble(String[] arr) { double[] nums = new double[arr.length]; for (int i = 0; i < nums.length; i++) { nums[i] = Double.parseDouble(arr[i]); } return nums; } }