Single.IsNegative(Single) Méthode

Définition

Détermine si la valeur spécifiée est négative.

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

Paramètres

f
Single

Nombre à virgule flottante simple précision.

Retours

Boolean

true si la valeur est négative ; sinon, false.

S’applique à