Decimal.IsPositive(Decimal) Methode

Definition

Bestimmt, ob ein Wert positiv ist.

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

Parameter

value
Decimal

Der zu überprüfende Wert.

Gibt zurück

true wenn value positiv; andernfalls false.

Implementiert

Hinweise

Ein Rückgabewert von false bedeutet nicht, dass IsNegative(TSelf) zurückgegeben truewird. Eine komplexe Zahl ist a + bi für ungleich Null bnicht positiv oder negativ.

Gilt für: