Int32.IsPositive(Int32) Método

Definição

Determina se um valor é positivo.

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

Parâmetros

value
Int32

O valor a ser verificado.

Devoluções

true se value for positivo; caso contrário, false.

Implementações

Observações

Um valor de retorno de false não implica que IsNegative(TSelf) irá devolver true. Um número complexo, a + bi para não nulo b, não é positivo nem negativo

Aplica-se a