Decimal.IsNegative(Decimal) Méthode

Définition

Détermine si une valeur est négative.

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

Paramètres

value
Decimal

Valeur à vérifier.

Retours

true si value est négatif ; sinon, false.

Implémente

Remarques

Une valeur de retour n’implique false pas qu’elle IsPositive(TSelf) retourne true. Un nombre complexe, a + bi non nul b, n’est pas positif ou négatif

S’applique à