Bahasa

Single.IsNegative(Single) Metode

Definisi

Menentukan apakah nilai yang ditentukan negatif.

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

Parameter

f
Single

Angka floating-point presisi tunggal.

Mengembalikan

true jika negatif, false jika tidak.

Penerapan

Berlaku untuk