RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.BcdToStrF Function

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

Pascal
function BcdToStrF(const Bcd: TBcd; Format: TFloatFormat; const Precision: Integer; const Digits: Integer): string;
C++
AnsiString BcdToStrF(const TBcd Bcd, TFloatFormat Format, const int Precision, const int Digits);

FMTBcd

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. 

 

BcdToStr 

StrToBcd 

FloatToStrF 

FormatBcd 

TryStrToBcd

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