RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.FormatBcd Function

Returns a string representation of a binary-coded decimal (BCD) value that reflects specified formatting.

Pascal
function FormatBcd(const Format: string; Bcd: TBcd): string;
C++
AnsiString FormatBcd(const AnsiString Format, TBcd Bcd);

FMTBcd

Use FormatBcd to convert a binary-coded decimal value into a string. 

Format indicates how the resulting string should be formatted. It uses the same format specifiers as pertain to the FormatFloat function. 

Bcd is the value to convert to a string. 

 

BcdToStrF 

FormatFloat 

BcdToStr 

TryStrToBcd 

StrToBcd

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!