Data.FmtBcd.BcdToStrF

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Data.FmtBcd.pas
Data.FMTBcd.hpp
Data.FmtBcd Data.FmtBcd

Beschreibung

Gibt eine String-Repräsentation in der angegebenen Formatierung eines binärcodierten Dezimalwertes (BCD) zurück.

Mit BcdToStrF können Sie einen BCD-Wert in einen String konvertieren.

Value ist der in einen String zu konvertierende BCD-Wert.

Format ist der Formatcode, der den zu verwendenden Formattyp angibt.

Precision gibt die maximale Anzahl der signifikanten Ziffern in dem Ergebnis-String an.

Digits gibt die maximale Anzahl der Ziffern hinter dem Dezimalzeichen im Ergebnis-String an.

Siehe auch