API:Data.DB.TBCDField.GetAsSingle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsSingle: Single; override;

C++

virtual float __fastcall GetAsSingle();

Properties

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

Description

Returns the value of the field as a Single.

Data.DB.TBCDField.GetAsSingle inherits from Data.DB.TField.GetAsSingle. All content below this line refers to Data.DB.TField.GetAsSingle.

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.

See Also