Skip to content

TBCDField.Precision

Precision of the BCD field.

Declaration

Source position: db.pas line 1015

published property Precision: LongInt;

Description

Precision is the total number of decimals in the BCD value. It is not the same as TBCDField.Size, which is the number of decimals after the decimal point. The Precision property should be set by the descendent classes when they initialize the field, and should be considered read-only. Changing the value will influence the values returned by the various AsXXX properties.

See also

Name Description
TBCDField.Size Number of decimals after the decimal separator.
TBCDField.Value Value of the field contents as a Currency type.