Data.FmtBcd.BcdToStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BcdToStr(const Bcd: TBcd): string;
function BcdToStr(const Bcd: TBcd; const Format: TFormatSettings): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall BcdToStr(const TBcd &Bcd)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Data.FmtBcd.pas
Data.FMTBcd.hpp
Data.FmtBcd Data.FmtBcd

Description

Returns a string representation of a binary-coded decimal (BCD) value.

Use BcdToStr to convert a binary-coded decimal value into a string. BcdToStr formats the string to display all of the digits stored in the BCD value.

See Also