Public Function IsComplex( _
ByVal vX As Variant _
) As Variant IsComplex(34) = True
IsComplex("12|34") = True
IsComplex("-12|-34") = True
IsComplex("23|") = False
IsComplex("|45") = False
IsComplex("Something") = False
IsNull(IsComplex(Null)) = TrueSee also: ComplexStringToReals Function
RealToComplex FunctionvX: The value that is checked to see if it represents a complex or real number. Function returns True if vX is numeric or a complex number string. Function returns False if vX is a string which does not represent a complex number. Function returns Null if vX is Null or cannot be fixed up to a real or complex number (as defined by the ComplexStringToReals function). Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.