+ 2
[Solved] How do you convert string into double?
I was trying to do the "Area of a circle" test and I'm having trouble converting string to double.
3 Réponses
+ 6
You can use the: Convert.ToDouble(string) method. For example:
string a = "135.5";
double b = Convert.ToDouble(a);
+ 2
Thanks, both of you.