API:Data.DB.TFMTBCDField.GetAsCurrency
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 | TFMTBCDField |
Description
Returns the value of the field as a Currency.
Data.DB.TFMTBCDField.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.