Data.DB.TField.GetAsSingle
Delphi
function GetAsSingle: Single; virtual;
C++
virtual float __fastcall GetAsSingle();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
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.