API:Data.DB.TDateTimeField.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 | TDateTimeField |
Description
Sets the value of the field with the given Double value.
Data.DB.TDateTimeField.SetAsFloat inherits from Data.DB.TField.SetAsFloat. All content below this line refers to Data.DB.TField.SetAsFloat.
Sets the value of the field with the given Double value.
Descendants of TField that represent Double fields override the SetAsFloat method to set the value of the field with the given Double Value.
Trying to call the SetAsFloat method raises an exception.