EncodeZonedBCD Method

Vajhoej Record

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
Convert from BigDecimal to zoned BCD.

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

Syntax

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

Parameters

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

Return Value

Byte array with zoned BCD.

See Also