N news.microsoft.com Jul 22, 2004 #2 Does anyone know how to compare datatype of two different variables? I need to check if the variable type is a Double if so do something. Thanks in advance.
Does anyone know how to compare datatype of two different variables? I need to check if the variable type is a Double if so do something. Thanks in advance.
H Herfried K. Wagner [MVP] Jul 22, 2004 #3 * "news.microsoft.com said: Does anyone know how to compare datatype of two different variables? I need to check if the variable type is a Double if so do something. Click to expand... \\\ If TypeOf foo Is Double Then... /// And, for comparing two variables' data types: \\\ If b.GetType() Is c.GetType() Then... ///
* "news.microsoft.com said: Does anyone know how to compare datatype of two different variables? I need to check if the variable type is a Double if so do something. Click to expand... \\\ If TypeOf foo Is Double Then... /// And, for comparing two variables' data types: \\\ If b.GetType() Is c.GetType() Then... ///