Jump to content

Binary coded decimal

From Simple English Wikipedia, the free encyclopedia
Revision as of 14:47, 7 October 2020 by Gay Yong Hernandez (talk | changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Binary coded decimal is a way to encode numbers. The number is first split into digits, and each digit is then encoded in binary. This will result in a code from 0 0 0 0 (for "0") to "1 0 0 1" (for 9). The other codes (1010 to 1 1 1 1, representing the numbers 10 to 15) are not valid.