Data.FmtBcd.BcdToStrF
Delphi
function BcdToStrF(const Bcd: TBcd; Format: TFloatFormat; const Precision, Digits: Integer): string;
function BcdToStrF(const Bcd: TBcd; Format: TFloatFormat; const Precision, Digits: Integer; FS: TFormatSettings): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall BcdToStrF(const TBcd &Bcd, System::Sysutils::TFloatFormat Format, const int Precision, const int Digits)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.FmtBcd.pas Data.FMTBcd.hpp |
Data.FmtBcd | Data.FmtBcd |
Description
Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting.
Use BcdToStrF to convert a binary-coded decimal value into a string.
Value is the BCD value to convert to a string.
Format is the formatting code that indicates the overall type of formatting to use.
Precision indicates the maximum number of significant digits in the resulting string.
Digits indicates the maximum number of digits past the decimal point in the resulting string.