Decodifica da BCD

Decodifica l'input con “Decodifica da BCD” secondo lo standard corrispondente.

Input: TestoRisultato: Numero ad alta precisione

Inserimento di testo

Esegui per vedere il risultato

Esempi

A time readout in packed decimal

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

Input

000100100011010001010110

Expected answer

123456
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
Nibbles
An inventory count

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

Input

01000010

Expected answer

42
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
Nibbles
A zero-prefixed identifier

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

Input

00000000000100100011

Expected answer

123
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
Nibbles
An all-nine counter boundary

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

Input

1001100110011001

Expected answer

9999
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
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.

Input

0001001010011001

Expected answer

1299
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
Nibbles
default 0

Input

0000

Expected answer

JSON
0
Schema
8 4 2 1
Impacchettato
On
Firmato
Off
Formato di input
Nibbles
Excess-3, unpacked, unsigned

Input

00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00000011

Expected answer

JSON
1234567890
Schema
Excess-3
Impacchettato
Off
Firmato
Off
Formato di input
Nibbles
packed, signed bytes

Input

00000001 00100011 01000101 01100111 10001001 00001101

Expected answer

JSON
-1234567890
Schema
8 4 2 1
Impacchettato
On
Firmato
On
Formato di input
Bytes

Strumenti correlati

Formato dati

Riferimento dell’operazione

Vedi la documentazione tecnica originale (English)