[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TFieldDef.Precision

Precision used in BCD (Binary Coded Decimal) fields

## Declaration

Source position: db.pas line 199

`published property TFieldDef.Precision : LongInt read FPrecision write SetPrecision default 0;`

## Description

Precision is the number of digits used in a BCD (Binary Coded Decimal) field. It is not the number of digits after the decimal separator, but the total number of digits.

## See also

TFieldDef.Size |  | Size of the buffer needed to store the data of the field

Documentation generated on: May 14 2021