CComCurrency::operator-WÄHRUNG

Diese Operatoren werden verwendet, um ein CComCurrency-Objekt zu einem CURRENCY Datentyp umzuwandeln.

operator CURRENCY&( ) throw( ); 
operator const CURRENCY&( ) const throw( );

Rückgabewert

Gibt einen Verweis auf ein Objekt CURRENCY zurück.

Beispiel

CComCurrency cur(10, 5000);
CURRENCY cy = static_cast<CURRENCY>(cur); // Note that explicit cast is not necessary
ATLASSERT(cy.int64 == 105000);

Anforderungen

Header: atlcur.h

Siehe auch

Referenz

CComCurrency-Klasse