Compares this instance with a specified Object.
[Visual Basic] Overrides Public Function Equals( _ ByVal obj As Object _ ) As Boolean [C#] public override bool Equals( object obj ); [C++] public: override bool Equals( Object* obj ); [JScript] public override function Equals( obj : Object ) : Boolean;
true if the object is a Double that equals the specified Object; otherwise, false.
The Equals method is a way of determining object equality between two objects. It only returns true if the object is a Double and has the same value as the current instance. The two object references are compared to determine their equality in three areas: value, type, and numbers. If obj and this Double instance are:
Overrides Equals.
Note That false will be returned if NaN. Not a number (NaN) should never be used for comparing.
Double Structure | Double Members | System Namespace | Object