I'm trying to convert an entry from a form text box to a double and am always getting "Input string was not in the correct format".
This is my code:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
If I hardcode:
dblAmount = double.Parse("1 0000");
it works
Do you know what I'm overlooking with my initial statement:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
Thx for your help.
This is my code:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
If I hardcode:
dblAmount = double.Parse("1 0000");
it works
Do you know what I'm overlooking with my initial statement:
dblAmount = double.Parse(fr m_aTest.txtAmou nt.Text);
Thx for your help.
Comment