Data.DB.TStringField.GetAsFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsFloat: Double; override;

C++

virtual double __fastcall GetAsFloat();

Properties

Type Visibility Source Unit Parent
function protected
Data.DB.pas
Data.DB.hpp
Data.DB TStringField

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