Upraviť

Zdieľať cez


SByte.IsNegative(SByte) Method

Definition

Determines if a value is negative.

public:
 static bool IsNegative(System::SByte value) = System::Numerics::INumberBase<System::SByte>::IsNegative;
public static bool IsNegative (sbyte value);
static member IsNegative : sbyte -> bool
Public Shared Function IsNegative (value As SByte) As Boolean

Parameters

value
SByte

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