Data.DB.TFieldDef.Precision
[–] Properties | |
---|---|
Type: property | |
Visibility: published | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TFieldDef |
Delphi
property Precision: Integer read FPrecision write SetPrecision default 0;
C++
__property int Precision = {read=FPrecision, write=SetPrecision, default=0};
Description
Specifies the number of digits of accuracy used to store the field value.
When defining a BCD field, set Precision to the total number of digits stored for each field value. The value of Precision is ignored unless DataType is ftBCD.