CComCurrency::GetInteger

 

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

Syntax

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

CComCurrency Class
CComCurrency::SetInteger
CComCurrency::GetFraction
CComCurrency::SetFraction