Formats a Currency object.
function FormatCurr(const Format: string; Value: Currency): string; overload; function FormatCurr(const Format: string; Value: Currency; const FormatSettings: TFormatSettings): string; overload;
AnsiString FormatCurr(const AnsiString Format, Currency Value); AnsiString FormatCurr(const AnsiString Format, Currency Value, const TFormatSettings FormatSettings);
SysUtils
FormatCurr formats the Currency object given by Value using the format string given by Format.
For information on the format strings, see Format Strings.
The first form of FormatCurr is not thread-safe, because it uses localization information contained in global variables. The second form of FormatCurr, which is thread-safe, refers to localization information contained in the FormatSettings parameter. Before calling the thread-safe form of FormatCurr, you must populate FormatSettings with localization information. To populate FormatSettings with a set of default locale values, call GetLocaleFormatSettings.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|