to use with text
return "5.31 5.62 11.22 700, 6.00".Replace('.', ',').Split(' ').ToList().Min(s=>double.Parse(s));
to use with list
return project.Lists["your listname"].Min(s=>double.Parse(s.Replace('.', ',')));
Thanks a lot man! Works almost perfect.
The issue now is that it wont replace the "." with ","
if the lowest number is 3.06 it will give it as 306. Any idea? Thanks again
realy dont know why
for me it works fine
try to convert with format like that
string min = project.Lists["your listname"].Min(s=>double.Parse(s.Replace('.', ','))).ToString("N");
return min;