Taal

Int32.IsPositive(Int32) Methode

Definitie

Bepaalt of een waarde positief is.

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

Parameters

value
Int32

De waarde die moet worden gecontroleerd.

Retouren

trueindien value positief, anders. false

Implementeringen

Opmerkingen

Een retourwaarde van false impliceert niet dat deze IsNegative(TSelf) retourneert true. Een complex getal, a + bi voor niet-nul b, is niet positief of negatief

Van toepassing op