Parameters
- obj
- TdNumber instance that will be compared to this instance of TdNumber.
Return Value
true is returned if the two TdNumbers are equal, false otherwise.true is returned if the two TdNumbers are equal, false otherwise.false will be returned if:
null. true will be returned if:
// The M is used to indicate that the numeric literal is a System.Decimal TdNumber large = new TdNumber(32425643243167.43433M); Object medium = new TdNumber(89732.4543M); // The following comparison is equivalent to using // false == TdNumber.Equals(large, (TdNumber) medium) // large != (TdNumber) medium // true == TdNumber.NotEquals(large, (TdNumber) medium) // if (false == large.Equals(medium)) { Console.WriteLine("large does not equal medium"); }
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019