Data.DB.TIntegerField.SetAsFloat
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TIntegerField | |
Delphi
procedure SetAsFloat(Value: Double); override;
C++
virtual void __fastcall SetAsFloat(double Value);
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.