API:Data.DB.TBCDField.GetAsCurrency

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsCurrency: Currency; override;

C++

virtual System::Currency __fastcall GetAsCurrency();

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 Currency.

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

Returns the value of the field as a Currency.

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

Trying to call the GetAsCurrency method raises an exception.

See Also