Int32.IsNegative(Int32) 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 if a value is negative.
public:
static bool IsNegative(int value) = System::Numerics::INumberBase<int>::IsNegative;
public static bool IsNegative (int value);
static member IsNegative : int -> bool
Public Shared Function IsNegative (value As Integer) As Boolean
Parameters
- value
- Int32
The value to be checked.
Returns
true
if value
is negative; otherwise, false
.
Implements
Remarks
A return value of false
does not imply that IsPositive(TSelf) will return true
. A complex number, a + bi
for non-zero b
, is not positive or negative
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.