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; const 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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Data.FmtBcd.pas Data.FMTBcd.hpp |
Data.FmtBcd | Data.FmtBcd |
説明
指定された書式を反映した 2 進化 10 進数(BCD)値の文字列表現を返します。
BcdToStrF を使用すると、2 進化 10 進数値を文字列に変換することができます。
Value は、文字列に変換する対象の BCD 値です。
Format は、使用する書式の全体的な種類を示す書式コードです。
Precision には、変換後の文字列の最大有効桁数を示します。
Digits には、変換後の文字列の、最大の小数点以下の桁数を示します。