Double.IsNegative(Double) Metod

Definition

Avgör om det angivna värdet är negativt.

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

Parametrar

d
Double

Ett flyttal med dubbel precision.

Returer

true om värdet är negativt; false Annars.

Implementeringar

Gäller för