System::Decimal::Equals method

Decimal::Equals(const Decimal&) const method

Determines if the values represented by the current object and the specified object are equal.

bool System::Decimal::Equals(const Decimal &d) const
ParameterTypeDescription
dconst Decimal&The Decimal object to compare the current object with

ReturnValue

True if the value represented by the current and the specified objects are equal, otherwise - false

See Also

Decimal::Equals(const SharedPtr<Object>&) const method

Determines if the values represented by the current object and the specified object are equal.

bool System::Decimal::Equals(const SharedPtr<Object> &obj) const
ParameterTypeDescription
objconst SharedPtr<Object>&The object to compare the current object with

ReturnValue

True if the value represented by the current and the specified objects are equal, otherwise - false

See Also

Decimal::Equals(const Decimal&, const Decimal&) method

Determines if the values represented by the specified objects are equal.

static bool System::Decimal::Equals(const Decimal &d1, const Decimal &d2)
ParameterTypeDescription
d1const Decimal&The first comparand
d2const Decimal&The second comparand

ReturnValue

True if the values represented by d1 and d2 are equal, otherwise - false

See Also