Språk

Int16.IsPositive(Int16) Metod

Definition

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

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

Parametrar

value
Int16

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