Originally posted by AlabamaHit
Do NOT enter a comma when trying to convert. It will cause an error.
Was this coded in C#?
If it was you can use this code to remove the comma
String OutPut = textBox1.Text;
OutPut = OutPut.Replace("," , "");
So if the person entered "123,123" then after this code it would be "123123"