M
mp
I tried looking in help for this but what it said didn't work
from help to cast from one type to another
//i = (int) d; // An explicit conversion, or "cast"
in my code i tried:
(tbDepth is a textbox on a form)
private double m_dDepth =0;
m_dDepth = (double)tbDepth.Text;
compile error
Cannot convert type 'string' to 'double'
how do i convert a string representing a double to a double?
thanks
Mark
from help to cast from one type to another
//i = (int) d; // An explicit conversion, or "cast"
in my code i tried:
(tbDepth is a textbox on a form)
private double m_dDepth =0;
m_dDepth = (double)tbDepth.Text;
compile error
Cannot convert type 'string' to 'double'
how do i convert a string representing a double to a double?
thanks
Mark