Data.FmtBcd.BCDToCurrency

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 BCDToCurrency(const BCD: TBcd): Currency;

C++

extern DELPHI_PACKAGE System::Currency __fastcall BCDToCurrency(const TBcd &BCD);

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.

See Also