Bewerken

Delen via


Double.IsNegative(Double) Method

Definition

Determines whether the specified value is negative.

public:
 static bool IsNegative(double d);
public:
 static bool IsNegative(double d) = System::Numerics::INumberBase<double>::IsNegative;
public static bool IsNegative (double d);
static member IsNegative : double -> bool
Public Shared Function IsNegative (d As Double) As Boolean

Parameters

d
Double

A double-precision floating-point number.

Returns

true if the value is negative; false otherwise.

Implements

Applies to