Data.DB.TStringField.GetAsBCD
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TStringField | |
Delphi
function GetAsBCD: TBcd; override;
C++
virtual Data::Fmtbcd::TBcd __fastcall GetAsBCD();
Description
Returns the value of the field as a TBcd.
GetAsBCD converts the field's value to a BCD value and returns the obtained result. The StrToBcd function is used internally.