Data.FmtBcd.CurrencyToBcd
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.FmtBcd.pas Data.FMTBcd.hpp
| |
| Unit: Data.FmtBcd | |
| Parent: Data.FmtBcd | |
Delphi
function CurrencyToBcd(const Curr: Currency): TBcd;
C++
extern DELPHI_PACKAGE TBcd __fastcall CurrencyToBcd(const System::Currency Curr);
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.