Data.DB.TFieldDef.Precision

From RAD Studio API Documentation
Jump to: navigation, search

[–] 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.

See Also