BCDUtilDecodeZonedBCD Method

Convert from zoned BCD to decimal.

Definition

Namespace: Vajhoej.Record
Assembly: Record (in Record.dll) Version: 0.0.0.0
C#
public static decimal DecodeZonedBCD(
	byte[] b,
	byte zone,
	int decimals
)

Parameters

b  Byte
Bytes with zoned BCD.
zone  Byte
Zone nibble value.
decimals  Int32
Implied decimals.

Return Value

Decimal
Decimal.

See Also