Int64.IsPositive(Int64) Metod

Definition

Avgör om ett värde är positivt.

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

Parametrar

value
Int64

Det värde som ska kontrolleras.

Returer

true om value är positiv, annars false.

Implementeringar

Kommentarer

Ett returvärde för false innebär inte att returnera IsNegative(TSelf)true. Ett komplext tal, a + bi för icke-noll b, är inte positivt eller negativt

Gäller för