Int64.IsPositive(Int64) Methode

Definition

Bestimmt, ob ein Wert positiv ist.

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

Parameter

value
Int64

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: