RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBCDField.Precision Property

Specifies the number of digits of accuracy used to store the field value.

Pascal
property Precision: Integer;
C++
__property int Precision;

Precision can be a value between 0 and 32. However, because TBCDField uses the currency type to work with data from BCD fields, TBCDField limits the precision of the BCD values it can support to 4 decimal places and 20 significant digits. The underlying database table may include values that require greater precision, and setting precision to a value greater than 20 allows you to create a table with higher precision. 

 

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