Data.FmtBcd.IntegerToBcd
Delphi
function IntegerToBcd( const AValue: Integer): TBcd;
C++
extern DELPHI_PACKAGE TBcd __fastcall IntegerToBcd(const int AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.FmtBcd.pas Data.FMTBcd.hpp |
Data.FmtBcd | Data.FmtBcd |
Description
Converts an integer value to the corresponding binary-coded decimal (BCD) value.
Use IntegerToBcd to convert an integer into a binary-coded decimal value.