Data.DB.TStringField.GetAsBCD

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsBCD: TBcd; override;

C++

virtual Data::Fmtbcd::TBcd __fastcall GetAsBCD();

Properties

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

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.

See Also