DecodePackedBCD Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Convert from packed BCD to decimal.

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public static decimal DecodePackedBCD(
	byte[] b,
	int decimals
)
Public Shared Function DecodePackedBCD ( _
	b As Byte(), _
	decimals As Integer _
) As Decimal
public:
static Decimal DecodePackedBCD(
	array<unsigned char>^ b, 
	int decimals
)

Parameters

b
array<Byte>[]()[][]
Bytes with packed BCD.
decimals
Int32
Implied decimals.

Return Value

Decimal.

See Also