Single.IsNegative(Single) Metoda

Definicja

Określa, czy określona wartość jest ujemna.

public:
 static bool IsNegative(float f) = System::Numerics::INumberBase<float>::IsNegative;
public:
 static bool IsNegative(float f);
public static bool IsNegative(float f);
static member IsNegative : single -> bool
Public Shared Function IsNegative (f As Single) As Boolean

Parametry

f
Single

Liczba zmiennoprzecinkowa o pojedynczej precyzji.

Zwraca

true jeśli jest ujemna, false w przeciwnym razie.

Implementuje

Dotyczy