Data.DB.TStringField.GetAsFloat

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TStringField

Delphi

function GetAsFloat: Double; override;

C++

virtual double __fastcall GetAsFloat();

Description

Returns the value of the field as a Double.

GetAsFloat converts the field's value to the corresponding double precision floating-point value and returns the obtained result. The StrToFloat function is called internally.

See Also