Decimal.IsNegative(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 negative.
public:
static bool IsNegative(System::Decimal value) = System::Numerics::INumberBase<System::Decimal>::IsNegative;
public static bool IsNegative (decimal value);
static member IsNegative : decimal -> bool
Public Shared Function IsNegative (value As Decimal) As Boolean
Parameters
- value
- Decimal
The value to be checked.
Returns
true
if value
is negative; otherwise, false
.
Implements
Remarks
A return value of false
does not imply that IsPositive(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.