'Declaration Public Operator =( _ ByVal left As TdDecimal, _ ByVal right As TdDecimal _ ) As Boolean
'Usage
Parameters
- left
- An instance of TdDecimal.
- right
- An instance of TdDecimal.
'Declaration Public Operator =( _ ByVal left As TdDecimal, _ ByVal right As TdDecimal _ ) As Boolean
'Usage
false
when left and right operands are Null. Therefore the reverse condition can be considered true
. TdDecimal implementation is very similar to the Nullable class in this regard.TdDecimal x = TdDecimal.Null; TdDecimal y = new TdDecimal(1.0M); if (x == y) { // x is equal to y. Console.WriteLine(@"X is equal to Y"). } else { // x is not equal y Console.WriteLine(@"X is not equal to Y"). } TdDecimal y = TdDecimal.Null; if (x == y) { // x is equal to y. Console.WriteLine(@"X is equal to Y"). } else { // x is not equal y Console.WriteLine(@"X is not equal to Y"). }
Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019