Data.FmtBcd.BcdToStr

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.FmtBcd.pas
Data.FMTBcd.hpp
Unit: Data.FmtBcd
Parent: Data.FmtBcd

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 */;

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