System::Decimal::Compare メソッド
Decimal::Compare method
最初の Decimal オブジェクトが表す値が、2 番目の Decimal オブジェクトが表す値より小さいか、等しいか、または大きいかを判定します。
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
| パラメーター | 型 | 説明 |
|---|---|---|
| d1 | const Decimal& | 最初の比較対象 |
| d2 | const Decimal& | 2 番目の比較対象 |
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++