EncodePackedBCD Method

Vajhoej Record

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

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

Syntax

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

Parameters

v
Decimal
Decimal.
decimals
Int32
Implied decimals.
length
Int32
Length.

Return Value

Byte array with packed BCD.

See Also