Single.IsNegative(Single) Metoda

Definice

Určuje, zda je zadaná hodnota záporná.

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

Jednopřesné číslo s plovoucí desetinnou čárkou.

Návraty

true pokud je záporné, false jinak.

Implementuje

Platí pro