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);

FMTBcd

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. 

 

DoubleToBcd 

BCDToCurr 

BCDToInteger

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!