Single.IsNegative(Single) Yöntem

Tanım

Belirtilen değerin negatif olup olmadığını belirler.

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

Parametreler

f
Single

Bir tek duyarlıklı kayan noktalı sayı.

Döndürülenler

Boolean

true negatifse, false değilse.

Şunlara uygulanır