System::Decimal::CompareTo मेथड

Decimal::CompareTo method

वर्तमान वस्तु द्वारा प्रतिनिधित्व किए गए मान की तुलना निर्दिष्ट वस्तु द्वारा प्रतिनिधित्व किए गए मान से कम, बराबर या अधिक है या नहीं निर्धारित करता है।

int System::Decimal::CompareTo(const Decimal &d) const
पैरामीटरप्रकारविवरण
dconst Decimal&तुलना मान

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

संबंधित देखें