FMTBcd.BCDToCurr

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From FMTBcd.pas

	function BCDToCurr(const BCD: TBcd; var Curr: Currency): Boolean;


Unit: FMTBcd

Type: function

Visibility: public

C++ Information

From FMTBcd.hpp

	bool __fastcall BCDToCurr(const Fmtbcd::TBcd & BCD, System::Currency & Curr);


Unit: FMTBcd

Type: function

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.

See Also

Personal tools
Translations
Newest Version