Data.FmtBcd.BcdToDouble

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BcdToDouble(const Bcd: TBcd): Double;

C++

extern DELPHI_PACKAGE double __fastcall BcdToDouble(const TBcd &Bcd);

Properties

Type Visibility Source Unit Parent
function public
Data.FmtBcd.pas
Data.FMTBcd.hpp
Data.FmtBcd Data.FmtBcd

Description

Converts a binary-coded decimal value (BCD) to the corresponding double precision floating point value.

Use BcdToDouble to convert a binary-coded decimal value into a double precision floating point value. If the Bcd parameter represents a value that can't be expressed in double precision, BcdToDouble raises an exception.

See Also