Unexpected Results

Today at work was told that the IsNumeric Function in VB.NET wasn't returning the results that the developer expected. When I got home I created a sample program that goes through some permutations and all return what I would expect. Here are the permutations
String ValueReturn Value
"."False
".0"True
","False
",0"False
"$"False
"$0"True
"0$"True
"%"False
"0%"False
"%0"False
I was led to believe, by the other developer, that these would all return True values. Now I must investigate at work. Perhaps the IsReallyNumeric fuction that was built is completely unnecessary.
Victoria, Australia -- 2002 angus, The Bull (Cabernet Sauvignon) -- 24.94 -- Nice wine for a blend. Doesn't have any deep richness that I usually look for in a Cab Sav. Very nice after taste with hints of tomato.

posted @ Tuesday, April 12, 2005 12:52 PM

Print
Comments have been closed on this topic.