Data.DB.TFloatField

From RAD Studio API Documentation
Jump to: navigation, search

Data.DB.TNumericFieldData.DB.TFieldSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFloatField

Delphi

TFloatField = class(TNumericField)

C++

class PASCALIMPLEMENTATION TFloatField : public TNumericField

Properties

Type Visibility Source Unit Parent
class public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TFloatField represents a field that contains floating-point values in a dataset.

TFloatField encapsulates the fundamental behavior common to numeric data. Floating-point fields can hold values in the range from (positive or negative) 5.0 * 10^-324 to 1.7 * 10^308 with an accuracy of 15 digits. TFloatField introduces new properties to convert between integer values and other data types, to control the precision of numbers that the field will permit, and to format the value for display purposes.

If you use the Fields editor at design time to create a persistent field component for the float field, you can access it by name at runtime. When using dynamic field components, you can access the TFloatField instance using the dataset's Fields property or FieldByName method.

See Also


Code Examples