System::Decimal::CompareTo-Methode

Decimal::CompareTo method

Bestimmt, ob der von dem aktuellen Objekt dargestellte Wert kleiner, gleich oder größer ist als der von dem angegebenen Objekt dargestellte Wert.

int System::Decimal::CompareTo(const Decimal &d) const
ParameterTypBeschreibung
dconst Decimal&Der Vergleichswert

ReturnValue

-1 if the value represented by the current object is less than the value represented by d; 0 if the values are equal; 1 if the value represented by the current object is greater than the value represented by d

Siehe auch