RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.VarToBcd Function

Converts a Variant into a TBcd type.

Pascal
function VarToBcd(const AValue: Variant): TBcd;
C++
TBcd VarToBcd(const Variant AValue);

Use VarDoubleAsBcd to obtain a TBcd value from a Variant

aValue is the Variant to convert. 

 

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