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