operator==()

Decimal::operator==(const Decimal&) const method

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

bool System::Decimal::operator==(const Decimal &d) const

Arguments

ParameterTypeDescription
dconst Decimal&The Decimal object to compare the current object with

Return Value

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

Decimal::operator==(std::nullptr_t) const method

Determines if the value represented by the current object is 0.

bool System::Decimal::operator==(std::nullptr_t) const

Return Value

True if the value represented by the current object is 0, otherwise - false

See Also