BCDUtilEncodePackedBCD Method
Convert from decimal to packed BCD.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
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()
Dim v As Decimal
Dim decimals As Integer
Dim length As Integer
Dim returnValue As Byte()
returnValue = BCDUtil.EncodePackedBCD(v,
decimals, length)
public:
static array<unsigned char>^ EncodePackedBCD(
Decimal v,
int decimals,
int length
)
static member EncodePackedBCD :
v : decimal *
decimals : int *
length : int -> byte[]
- v Decimal
- Decimal.
- decimals Int32
- Implied decimals.
- length Int32
- Length.
ByteByte array with packed BCD.