案例
A time readout in packed decimal
Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.
输入
000100100011010001010110Expected answer
123456123456
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
An inventory count
Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.
输入
01000010Expected answer
4242
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
A zero-prefixed identifier
Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.
输入
00000000000100100011Expected answer
123123
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
An all-nine counter boundary
Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.
输入
1001100110011001Expected answer
99999999
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
A decimal price without the point
Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.
输入
0001001010011001Expected answer
12991299
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
default 0
输入
0000Expected answer
JSON00
- 方案
8 4 2 1- 紧凑表示
On- 有符号
Off- 输入格式
Nibbles
Excess-3, unpacked, unsigned
输入
00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00000011Expected answer
JSON12345678901234567890
- 方案
Excess-3- 紧凑表示
Off- 有符号
Off- 输入格式
Nibbles
packed, signed bytes
输入
00000001 00100011 01000101 01100111 10001001 00001101Expected answer
JSON-1234567890-1234567890
- 方案
8 4 2 1- 紧凑表示
On- 有符号
On- 输入格式
Bytes