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