Data.FmtBcd.BCDToCurrency
Delphi
function BCDToCurrency(const BCD: TBcd): Currency;
C++
extern DELPHI_PACKAGE System::Currency __fastcall BCDToCurrency(const TBcd &BCD);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Data.FmtBcd.pas Data.FMTBcd.hpp |
Data.FmtBcd | Data.FmtBcd |
Description
Converts a binary-coded decimal value (BCD) into the corresponding Currency value.
Use BCDToCurrency to convert a binary-coded decimal value, which is stored in a physical BCD database field, into a Currency value, which is the representation used by TBCDField objects. BCDToCurrency returns a Currency value.