Property Value
true
if this instance is greater than or equal to zero; false
otherwise.true
if this instance is greater than or equal to zero; false
otherwise.IsPositive
returns false
if this instance is Null.TdDecimal x = new TdDecimal(-1); if (x.IsPositive == true) { Console.WriteLine("x is a positive number."); } else { if (x.IsNull == false) { Console.WriteLine("x is a negative number."); } else { Console.WriteLine("x is Null."); } }
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 |