TFMTBCDField
Fixed precision floating point data field.
Declaration
Source position: db.pas line 1024
Description
TFMTBCDField is the field created when a data type of ftFMTBCD is encountered. It represents usually a fixed-precision floating point data type (BCD : Binary Coded Decimal data) such as the DECIMAL or NUMERIC field types in an SQL database.
Properties
| Member |
Visibility |
Description |
| Currency |
published |
Does the field contain currency data ? |
| MaxValue |
published |
Maximum value for the field. |
| MinValue |
published |
Minimum value for the field. |
| Precision |
published |
Total number of digits in the BCD data. |
| Size read only |
published |
Number of digits after the decimal point. |
| Value |
public |
The value of the field as a BCD value. |
See all PropertiesMethods
| Member |
Visibility |
Description |
| CheckRange |
public |
Check value if it is in the range defined by MinValue and MaxValue. |
| Create |
public |
Create a new instance of the TFMTBCDField class. |
See all MethodsSee also
| Name |
Description |
| TFloatField |
Class for floating point values. |