Decimal.IsPositive(Decimal) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a value is positive.
public:
static bool IsPositive(System::Decimal value) = System::Numerics::INumberBase<System::Decimal>::IsPositive;
public static bool IsPositive (decimal value);
static member IsPositive : decimal -> bool
Public Shared Function IsPositive (value As Decimal) As Boolean
Parameters
- value
- Decimal
The value to be checked.
Returns
true
if value
is positive; otherwise, false
.
Implements
Remarks
A return value of false
does not imply that IsNegative(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET