System::Decimal::CompareTo yöntemi

Decimal::CompareTo method

Geçerli nesne tarafından temsil edilen değerin, belirtilen nesne tarafından temsil edilen değerden küçük, eşit veya büyük olup olmadığını belirler.

int System::Decimal::CompareTo(const Decimal &d) const
ParametreTürAçıklama
dconst Decimal&Karşılaştırılan değer

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

Ayrıca Bakınız