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