The function BCD encodes or decodes a string in BCD codes.
BCD(string, mode, type) => string
text | string | The text is either a number or a binary number as string. |
mode | 0 1 | decoding encoding |
type | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Original Aiken Stibitz Gray Glixon O’Brien Petherick Tompkins Libaw-Craig Gray-Excess 2 of 5 1 of 10 Postnet Planet Hamming Biquinary |