A complex number is considered equal to a double if the real part is the same as the
double and the imaginary part is 0.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool Equals( double CompareTo )
Public Function Equals ( _ CompareTo As Double _ ) As Boolean
public: bool Equals( double CompareTo )
Parameters
- CompareTo (Double)
- Double to compare to
Return Value
True if they are equal