Data.DB.TStringField.GetAsSingle
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TStringField |
Delphi
function GetAsSingle: Single; override;
C++
virtual float __fastcall GetAsSingle();
Description
Returns the value of the field as a Single.
GetAsSingle converts the field's value to the corresponding simple precision floating-point value and returns the obtained result. The StrToFloat function is called internally.