System::Decimal::CompareTo metode
Decimal::CompareTo method
Menentukan apakah nilai yang diwakili oleh objek saat ini lebih kecil, sama, atau lebih besar daripada nilai yang diwakili oleh objek yang ditentukan.
int System::Decimal::CompareTo(const Decimal &d) const
| Parameter | Tipe | Deskripsi |
|---|---|---|
| d | const Decimal& | Komparan |
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
Lihat Juga
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Page for C++