Int32.IsPositive(Int32) Methode

Definition

Bestimmt, ob ein Wert positiv ist.

public:
 static bool IsPositive(int value) = System::Numerics::INumberBase<int>::IsPositive;
public static bool IsPositive(int value);
static member IsPositive : int -> bool
Public Shared Function IsPositive (value As Integer) As Boolean

Parameter

value
Int32

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: