hello friends leave east error to me, know as I can solve it?
Cannot convert type 'string' to 'double'
Thanks
Ronald Saavedra
Printable View
hello friends leave east error to me, know as I can solve it?
Cannot convert type 'string' to 'double'
Thanks
Ronald Saavedra
You have to parse the string into a double using the Double.Parse(), or Double.TryParse() methods.
Also the Convert.ToDouble(MyString) should do the trick.
From the help topic for Convert.ToDouble(String):Quote:
Remarks
The return value is the result of invoking the Double.Parse method on value.