Digits and signs used to build packed decimal numbers | |||||
Digit or Sign | Digit/Sign | ||||
Decimal | Hex | Binary | Octal | ||
0 | DIGIT | 0 | 00 | 0000 | 00 |
1 | DIGIT | 1 | 01 | 0001 | 01 |
2 | DIGIT | 2 | 02 | 0010 | 02 |
3 | DIGIT | 3 | 03 | 0011 | 03 |
4 | DIGIT | 4 | 04 | 0100 | 04 |
5 | DIGIT | 5 | 05 | 0101 | 05 |
6 | DIGIT | 6 | 06 | 0110 | 06 |
7 | DIGIT | 7 | 07 | 0111 | 07 |
8 | DIGIT | 8 | 08 | 1000 | 10 |
9 | DIGIT | 9 | 09 | 1001 | 11 |
+ | SIGN | 10 | 0A | 1010 | 12 |
- | SIGN | 11 | 0B | 1011 | 13 |
+ preffered | SIGN | 12 | 0C | 1100 | 14 |
- preffered | SIGN | 13 | 0D | 1101 | 15 |
+ | SIGN | 14 | 0E | 1110 | 16 |
+ | SIGN | 15 | 0F | 1111 | 17 |
Signs used to build packed decimal numbers | |||||
Sign | |||||
Decimal | Hex | Binary | Octal | ||
Illegal | 0 | 00 | 0000 | 00 | |
Illegal | 1 | 01 | 0001 | 01 | |
Illegal | 2 | 02 | 0010 | 02 | |
Illegal | 3 | 03 | 0011 | 03 | |
Illegal | 4 | 04 | 0100 | 04 | |
Illegal | 5 | 05 | 0101 | 05 | |
Illegal | 6 | 06 | 0110 | 06 | |
Illegal | 7 | 07 | 0111 | 07 | |
Illegal | 8 | 08 | 1000 | 10 | |
Illegal | 9 | 09 | 1001 | 11 | |
+ | 10 | 0A | 1010 | 12 | |
- | 11 | 0B | 1011 | 13 | |
+ preffered | 12 | 0C | 1100 | 14 | |
- preffered | 13 | 0D | 1101 | 15 | |
+ | 14 | 0E | 1110 | 16 | |
+ | 15 | 0F | 1111 | 17 |
Digits used to build packed decimal numbers | |||||
Digit | |||||
Decimal | Hex | Binary | Octal | ||
0 | 0 | 00 | 0000 | 00 | |
1 | 1 | 01 | 0001 | 01 | |
2 | 2 | 02 | 0010 | 02 | |
3 | 3 | 03 | 0011 | 03 | |
4 | 4 | 04 | 0100 | 04 | |
5 | 5 | 05 | 0101 | 05 | |
6 | 6 | 06 | 0110 | 06 | |
7 | 7 | 07 | 0111 | 07 | |
8 | 8 | 08 | 1000 | 10 | |
9 | 9 | 09 | 1001 | 11 | |
Illegal | 10 | 0A | 1010 | 12 | |
Illegal | 11 | 0B | 1011 | 13 | |
Illegal | 12 | 0C | 1100 | 14 | |
Illegal | 13 | 0D | 1101 | 15 | |
Illegal | 14 | 0E | 1110 | 16 | |
Illegal | 15 | 0F | 1111 | 17 |
See also: