Data.FmtBcd.IntegerToBcd

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.FmtBcd.pas
Data.FMTBcd.hpp
Unit: Data.FmtBcd
Parent: Data.FmtBcd

Delphi

function IntegerToBcd( const AValue: Integer): TBcd;

C++

extern DELPHI_PACKAGE TBcd __fastcall IntegerToBcd(const int AValue);

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.

See Also