Data.DB.TIntegerField.SetAsSingle
Delphi
procedure SetAsSingle(Value: Single); override;
C++
virtual void __fastcall SetAsSingle(float 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 Single value.
SetAsSingle sets the field's value with the input floating-point value rounded to the nearest integer.