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