COleCurrency::Format

This method creates a formatted representation of the currency value. It formats the value using the national language specifications (locale identifiers). 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.

At a Glance

Header file: Afxdisp.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

COleCurrency::ParseCurrency, COleCurrency::GetStatus, CString