Upraviť

Zdieľať cez


Int16.IsPositive(Int16) Method

Definition

Determines if a value is positive.

public:
 static bool IsPositive(short value) = System::Numerics::INumberBase<short>::IsPositive;
public static bool IsPositive (short value);
static member IsPositive : int16 -> bool
Public Shared Function IsPositive (value As Short) As Boolean

Parameters

value
Int16

The value to be checked.

Returns

true if value is positive; otherwise, false.

Implements

Remarks

A return value of false does not imply that IsNegative(TSelf) will return true. A complex number, a + bi for non-zero b, is not positive or negative

Applies to