ערוך

שתף באמצעות


Single.IsNegative(Single) Method

Definition

Determines whether the specified value is negative.

public:
 static bool IsNegative(float f);
public:
 static bool IsNegative(float f) = System::Numerics::INumberBase<float>::IsNegative;
public static bool IsNegative (float f);
static member IsNegative : single -> bool
Public Shared Function IsNegative (f As Single) As Boolean

Parameters

f
Single

A single-precision floating-point number.

Returns

true if negative, false otherwise.

Implements

Applies to