RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.IntegerToBcd Function

Converts an integer value to the corresponding binary-coded decimal (BCD) value.

Pascal
function IntegerToBcd(const AValue: Integer): TBcd;
C++
TBcd IntegerToBcd(const int AValue);

FMTBcd

Use IntegerToBcd to convert an integer into a binary-coded decimal value. 

 

BCDToInteger 

CurrToBcd 

DoubleToBcd

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