Share via


Int32.IsNegative(Int32) Metodo

Definizione

Determina se un valore è 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

Parametri

value
Int32

Restituisce

Boolean

true se value è negativo; in caso contrario, false.

Implementazioni

Commenti

Un valore restituito di false non implica che IsPositive(TSelf) restituirà true. Un numero complesso, a + bi per diverso da zero b, non è positivo o negativo

Si applica a