Int64.IsPositive(Int64) 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 positive.
public:
static bool IsPositive(long value) = System::Numerics::INumberBase<long>::IsPositive;
public static bool IsPositive (long value);
static member IsPositive : int64 -> bool
Public Shared Function IsPositive (value As Long) As Boolean
Parameters
- value
- Int64
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.