从 BCD 解码

按照 BCD 格式解码输入数据。

输入: 文本结果: 高精度数值

文本输入

运行后查看结果

案例

A time readout in packed decimal

Read packed decimal as a number. Leading zeroes in an identifier are not retained by this numeric operation.

输入

000100100011010001010110

Expected answer

123456
方案
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.

输入

01000010

Expected answer

42
方案
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.

输入

00000000000100100011

Expected answer

123
方案
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.

输入

1001100110011001

Expected answer

9999
方案
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.

输入

0001001010011001

Expected answer

1299
方案
8 4 2 1
紧凑表示
On
有符号
Off
输入格式
Nibbles
default 0

输入

0000

Expected answer

JSON
0
方案
8 4 2 1
紧凑表示
On
有符号
Off
输入格式
Nibbles
Excess-3, unpacked, unsigned

输入

00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00000011

Expected answer

JSON
1234567890
方案
Excess-3
紧凑表示
Off
有符号
Off
输入格式
Nibbles
packed, signed bytes

输入

00000001 00100011 01000101 01100111 10001001 00001101

Expected answer

JSON
-1234567890
方案
8 4 2 1
紧凑表示
On
有符号
On
输入格式
Bytes

相关工具

数据格式

操作参考

查看原始技术文档 (English)