Data.FmtBcd.BcdScale

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 BcdScale(const Bcd: TBcd): Word;

C++

extern DELPHI_PACKAGE System::Word __fastcall BcdScale(const TBcd &Bcd);

Description

Returns the number of decimal places for a binary-coded decimal (BCD) value.

Use BcdScale to determine the number of decimal places in a specified BCD value.

See Also