API:Data.DB.TDateTimeField.GetAsFloat
Delphi
function GetAsFloat: Double; override;
C++
virtual double __fastcall GetAsFloat();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDateTimeField |
Description
Returns the value of the field as a Double.
Data.DB.TDateTimeField.GetAsFloat inherits from Data.DB.TField.GetAsFloat. All content below this line refers to Data.DB.TField.GetAsFloat.
Returns the value of the field as a Double.
Descendants of TField that represent Double fields override the GetAsFloat method to return the value of the field as a Double.
Trying to call the GetAsFloat method raises an exception.