RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.BcdToDouble Function

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

Pascal
function BcdToDouble(const Bcd: TBcd): Double;
C++
Double BcdToDouble(const TBcd Bcd);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!