[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Fixed precision floating point data field.
Source position: db.pas line 1021
type TFMTBCDField = class(TNumericField) |
||
public |
||
constructor Create(); override; |
|
Create a new instance of the TFMTBCDField class. |
function CheckRange(); |
|
Check value if it is in the range defined by MinValue and MaxValue. |
property Value: TBCD; [rw] |
|
The value of the field as a BCD value. |
published |
||
property Precision: LongInt; [rw] |
|
Total number of digits in the BCD data. |
property Currency: Boolean; [rw] |
|
Does the field contain currency data ? |
property MaxValue: string; [rw] |
|
Maximum value for the field. |
property MinValue: string; [rw] |
|
Minimum value for the field. |
|
Number of digits after the decimal point. |
|
end; |
|
Fixed precision floating point data field. |
|
| | ||
|
Base class for all numerical data field classes. |
|
| | ||
|
Provide access to the contents of a single field in a record. |
|
| | ||
| | ||
| | ||
TObject,IFPObserved |
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.
|
Class for floating point values. |