System::Decimal::Equals 메서드

Decimal::Equals(const Decimal&) const method

현재 객체와 지정된 객체가 나타내는 값이 같은지 확인합니다.

bool System::Decimal::Equals(const Decimal &d) const
매개변수형식설명
dconst Decimal&현재 객체와 비교할 Decimal 객체

ReturnValue

현재 객체와 지정된 객체가 나타내는 값이 동일하면 true, 그렇지 않으면 false

또 보기

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

현재 객체와 지정된 객체가 나타내는 값이 같은지 확인합니다.

bool System::Decimal::Equals(const SharedPtr<Object> &obj) const
매개변수형식설명
objconst SharedPtr<Object>&현재 객체와 비교할 대상 객체

ReturnValue

현재 객체와 지정된 객체가 나타내는 값이 동일하면 true, 그렇지 않으면 false

또 보기

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

지정된 객체들이 나타내는 값이 같은지 확인합니다.

static bool System::Decimal::Equals(const Decimal &d1, const Decimal &d2)
매개변수형식설명
d1const Decimal&첫 번째 비교값
d2const Decimal&두 번째 비교값

ReturnValue

d1d2가 나타내는 값이 같으면 true, 그렇지 않으면 false

또 보기