double tryparse dot comma

69

double tryparse dot comma -

text = text.Replace(',', '.');
return double.TryParse(text, NumberStyles.Any, CultureInfo.InvariantCulture, out value);

Comments

Submit
0 Comments