System::Decimal::Compare विधि
Decimal::Compare method
निर्धारित करता है कि पहले Decimal ऑब्जेक्ट द्वारा प्रतिनिधित्व किया गया मान दूसरे Decimal ऑब्जेक्ट द्वारा प्रतिनिधित्व किए गए मान से कम, बराबर या अधिक है।
static int System::Decimal::Compare(const Decimal &d1, const Decimal &d2)
| पैरामीटर | प्रकार | विवरण |
|---|---|---|
| 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++