طريقة System::Decimal::Compare
Decimal::Compare method
تحدد ما إذا كانت القيمة التي يمثلها كائن Decimal الأول أصغر من أو مساوية أو أكبر من القيمة التي يمثلها كائن Decimal الثاني.
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
| Parameter | Type | الوصف |
|---|---|---|
| d1 | const Decimal& | المقارنة الأولى |
| d2 | const Decimal& | المقارنة الثانية |
ReturnValue
-1 if the value represented by d1 is less than the value represented by d2; 0 if the values are equal; 1 if the value represented by d1 is greater than the value represented by d2
انظر أيضًا
- Class Decimal
- Class Decimal
- Namespace System
- Library Aspose.Page for C++