Published
- 1 min read
double tryparse dot comma
The solution for this is noted below
double tryparse dot comma
Solution
text = text.Replace(',', '.');
return double.TryParse(text, NumberStyles.Any, CultureInfo.InvariantCulture, out value);
Try other methods by searching on the site. That is if this doesn’t work