SyntaxFix
Write A Post
Hire A Developer
Questions
Try following code snippet.
double myVal = 0; String myVar = "Not Numeric Type"; if (Double.TryParse(myVar , out myNum)) { // it is a number } else { // it is not a number }