Data.FmtBcd.BCDToCurr
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.FmtBcd.pas Data.FMTBcd.hpp
| |
Unit: Data.FmtBcd | |
Parent: Data.FmtBcd |
Delphi
function BCDToCurr(const BCD: TBcd; var Curr: Currency): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall BCDToCurr(const TBcd &BCD, System::Currency &Curr);
Description
Converts a binary-coded decimal value (BCD) to the corresponding Currency value.
Use BCDToCurr to convert a binary-coded decimal value, such as is stored in a physical BCD database field, into a Currency value, which is the representation used by TBCDField objects. BCDToCurr returns true if the BCD value passed as the BCD parameter is successfully converted into a Currency object which is passed out as the Curr parameter.