Double.IsNegative(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.