COleCurrency::Format

Call this member function to create a formatted representation of the currency value. It formats the value using the national language specifications (locale IDs). A currency symbol is not included in the value returned. If the status of this COleCurrency object is null, the return value is an empty string. If the status is invalid, the return string is specified by the string resource IDS_INVALID_CURRENCY.

Syntax

CString Format( DWORD dwFlags = 0, LCID lcid = LANG_USER_DEFAULT );

At a Glance

Header file: Afxdisp.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

COleCurrency Overview, COleCurrency Member Functions, Automation Types, COleCurrency::ParseCurrency, COleCurrency::GetStatus, CString