Decimal.IsNegative(Decimal) Methode

Definitie

Bepaalt of een waarde negatief is.

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

De waarde die moet worden gecontroleerd.

Retouren

trueals value dit negatief is; anders. false

Implementeringen

Opmerkingen

Een retourwaarde van false impliceert niet dat deze IsPositive(TSelf) retourneert true. Een complex getal, a + bi voor niet-nul b, is niet positief of negatief

Van toepassing op