Data.DB.TIntegerField.SetAsFloat
Delphi
procedure SetAsFloat(Value: Double); override;
C++
virtual void __fastcall SetAsFloat(double Value);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Data.DB.pas Data.DB.hpp | Data.DB | TIntegerField | 
Description
Sets the value of the field with the given Double value.
SetAsFloat converts the input floating-point value to the nearest integer and sets the field's value with the obtained result.