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);

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

 

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