Data.DB.TField.GetAsCurrency
Delphi
function GetAsCurrency: Currency; virtual;
C++
virtual System::Currency __fastcall GetAsCurrency();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
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.