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"); }
| Product | Versions | Platforms |
|---|---|---|
| .NET | 6, 7 | Windows, Linux, MacOS |
| .NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
| .NET Standard | 2.0 | Windows, Linux, MacOS |