API:Data.DB.TExtendedField.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 | TExtendedField |
Description
Returns the value of the field as a Double.
Data.DB.TExtendedField.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.