DecodeZonedBCD Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Convert from zoned 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 DecodeZonedBCD(
	byte[] b,
	byte zone,
	int decimals
)
Public Shared Function DecodeZonedBCD ( _
	b As Byte(), _
	zone As Byte, _
	decimals As Integer _
) As Decimal
public:
static Decimal DecodeZonedBCD(
	array<unsigned char>^ b, 
	unsigned char zone, 
	int decimals
)

Parameters

b
array<Byte>[]()[][]
Bytes with zoned BCD.
zone
Byte
Zone nibble value.
decimals
Int32
Implied decimals.

Return Value

Decimal.

See Also