Ted's Hello World
Monday, August 10, 2009
Check if a String is a number
You could try:
double
Num;
b
ool
isNum =
double
.TryParse(Str,
out
Num);
if
(isNum)
Then
...
Or you could try the IsNumeric function from Microsoft.VisualBasic.FileIO
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.