private List<double> todoubleList(List<string> s) { return s.Select(p => todouble(p)).Cast<double>().ToList(); }