API:Data.DB.TFMTBCDField.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 TFMTBCDField

Description

Returns the value of the field as a Double.

Data.DB.TFMTBCDField.GetAsFloat inherits from Data.DB.TField.GetAsFloat. All content below this line refers to Data.DB.TField.GetAsFloat.

Returns the value of the field as a Double.

Descendants of TField that represent Double fields override the GetAsFloat method to return the value of the field as a Double.

Trying to call the GetAsFloat method raises an exception.

See Also