다음을 통해 공유


CComCurrency::GetInteger

Call this method to get the integer component of a CComCurrency object.

LONGLONG GetInteger( ) const;

Return Value

Returns the integer component of the m_currency data member.

Example

CComCurrency cur(10, 5000);
LONGLONG nInteger;
nInteger = cur.GetInteger();
ATLASSERT(nInteger == 10);   

Requirements

Header: atlcur.h

See Also

Concepts

CComCurrency Class

CComCurrency Members

CComCurrency::SetInteger

CComCurrency::GetFraction

CComCurrency::SetFraction