RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.BcdToStr Function

Returns a string representation of a binary-coded decimal (BCD) value.

Pascal
function BcdToStr(const Bcd: TBcd): string; overload;
C++
AnsiString BcdToStr(const TBcd Bcd);

Use BcdToStr to convert a binary-coded decimal value into a string. BcdToStr formats the string to display all of the digits stored in the BCD value. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!