BCDUtilDecodeZonedBCD Method
Convert from zoned BCD to decimal.
Namespace: Vajhoej.RecordAssembly: Record (in Record.dll) Version: 0.0.0.0
public static decimal DecodeZonedBCD(
byte[] b,
byte zone,
int decimals
)
Public Shared Function DecodeZonedBCD (
b As Byte(),
zone As Byte,
decimals As Integer
) As Decimal
Dim b As Byte()
Dim zone As Byte
Dim decimals As Integer
Dim returnValue As Decimal
returnValue = BCDUtil.DecodeZonedBCD(b,
zone, decimals)
public:
static Decimal DecodeZonedBCD(
array<unsigned char>^ b,
unsigned char zone,
int decimals
)
static member DecodeZonedBCD :
b : byte[] *
zone : byte *
decimals : int -> decimal
- b Byte
- Bytes with zoned BCD.
- zone Byte
- Zone nibble value.
- decimals Int32
- Implied decimals.
DecimalDecimal.