RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::CurrToStrF Method

Converts a currency value to its string representation using the indicated float format convention.

Pascal
function CurrToStrF(value: Currency; format: TStringFloatFormat; digits: Integer; codePage: Integer): AnsiStringBase; static;
C++
static __fastcall AnsiStringBase CurrToStrF(Currency value, TStringFloatFormat format, int digits, int codePage);

System::AnsiStringBase::CurrToStrF converts the currency value given by value to its string representation using the indicated float format convention. A call to System::AnsiStringBase::CurrToStrF corresponds to a call to FloatToStrF with an implied precision of 19 digits. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!