Double.IsPositive(Double) Metod

Definition

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

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

Parametrar

value
Double

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