 # Zoned Decimals

In the past few days, most of the people were discussed about what is zoned decimal and what are the uses of it. while searching I understood that there are very few articles and tutorials to study about the topic. so let’s discuss… what are zoned decimals!!!

6 Likes

In a zone-decimal number has 8 digits (0 and 1). One digit gets one bit. Then 8 digits
get 8 bits. So 8 bits equal to 1 byte. At the final, one zone-decimal number size
equals to 1 byte.
This 8 digits can be divided into two sections as four by four. First four digits show
the sign for zone decimal number. There is 3 sign for zone decimal numbers. Those
are,
“ Z ” = 1111
“ + ” = 1100
“ - ” = 1101
Second four digits show what is the value of the number as a binary number. Those
are,
“ 0 ” = 0000
“ 1 ” = 0001
“ 2 ” = 0010
“ 3 ” = 0011
“ 4 ” = 0100
“ 5 ” = 0101
“ 6 ” = 0110
“ 7 ” = 0111
“ 8 ” = 1000
“ 9 ” = 1001

Now we can make 10 positive numbers and 10 negative numbers from zone-decimal
numbers using 3 signs and 10 digits(as binary number).
Those are,
“ +0 ” = 1100 0000
“ +1 ” = 1100 0001
“ +2 ” = 1100 0010
“ +3 ” = 1100 0011
“ +4 ” = 1100 0100
“ +5 ” = 1100 0101
“ +6 ” = 1100 0110
“ +7 ” = 1100 0111
“ +8 ” = 1100 1000
“ +9 ” = 1100 1001
“ -0 ” = 1101 0000
“ -1 ” = 1101 0001
“ -2 ” = 1101 0010
“ -3 ” = 1101 0011
“ -4 ” = 1101 0100
“ -5 ” = 1101 0101
“ -6 ” = 1101 0110
“ -7 ” = 1101 0111
“ -8 ” = 1101 1000
“ -9 ” = 1101 1001

6 Likes

nice explanation malli… I think this will help for your batch mates a lot.

3 Likes