[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class for floating point values
Source position: db.pas line 661
type TFloatField = class(TNumericField) |
||
public |
||
constructor Create(); override; |
|
Create a new instance of the TFloatField |
function CheckRange(); |
|
Check whether a value is in the allowed range of values for the field |
property Value: Double; [rw] |
|
Value of the field as a double type |
published |
||
property Currency: Boolean; [rw] |
|
Is the field a currency field. |
property MaxValue: Double; [rw] |
|
Maximum value for the field |
property MinValue: Double; [rw] |
|
Minimum value for the field |
|
Precision (number of digits) of the field in text representations |
|
end; |
|
Class for floating point values |
|
| | ||
|
Base class for all numerical data field classes |
|
| | ||
|
Provide access to the contents of a single field in a record |
|
| | ||
| | ||
| | ||
TObject |
TFloatField is the class created when a dataset must manage floating point values of double precision. It exposes a few new properties such as Currency, MaxValue, MinValue and overrides some TField methods to work with floating point data.
It should never be necessary to create an instance of TFloatField manually, a field of this class will be instantiated automatically for each floating-point field when a dataset is opened.
|
Is the field a currency field. |
|
|
Maximum value for the field |
|
|
Minimum value for the field |