BCDUtilEncodeZonedBCD Method

Convert from BigDecimal to zoned BCD.

Definition

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

Parameters

v  Decimal
Decimal.
zone  Byte
Zone nibble value.
decimals  Int32
Implied decimals.
length  Int32
Length.

Return Value

Byte
Byte array with zoned BCD.

See Also