Single.IsNegative(Single) Metod

Definition

Avgör om det angivna värdet är negativt.

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

Parametrar

f
Single

Ett flyttal med enkel precision.

Returer

true om negativ, false annars.

Gäller för