It took me a day to figure out the problem that one of the if statement returns true for a string value.
We are parsing to check whether the value is a number or a string. I found out that this statement used and when the string value comes in as 6E02 the statement return true that this is a double value.
var double temp;
var val ="6E02"
result = double.TryParse(val, out temp)
How can I fix this issue to return the result false for strings like (Number)E0(Number)
Easy way I believe to check the text first if it contains E0 and if it does just return false. But is there a better way of handling this or another built in method to replace the method with?