Int32.IsNegative(Int32) Método

Definição

Determina se um valor é negativo.

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

Parâmetros

value
Int32

O valor a ser verificado.

Devoluções

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

Implementações

Observações

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

Aplica-se a