Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]


Precision of the BCD field.


Source position: db.pas line 1006

published property TBCDField.Precision : LongInt
  read FPrecision
  write FPrecision;


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



Number of decimals after the decimal separator.



Value of the field contents as a Currency type.

Documentation generated on: Jul 24 2023