Converting Single Number 14-Bit ITU National Point Codes

To convert a single number 14-bit ITU national point code to a multiple part 14-bit ITU national point code, perform these steps. To make this conversion, you will need to know the format of the 14-bit ITU national point code. This can be verified in the NPCFMTI field of the rtrv-stpopts command output. For this example, the 14-bit ITU national point codes 14781 and 695 are converted to point codes using the 3-8-3-0 format.

  1. The point code is converted to a binary number.

    This can be done with most scientific calculators.

    1. The number 14781 converts to the binary number 11100110111101.
    2. The number 695 converts to the binary number 1010110111.

      Note:

      Make sure the binary number contains 14 digits. If it does not, add leading zeros to the binary number to bring the total number of digits in the number to 14.

      In this example, the binary equivalent for the decimal number 695 (1010110111) contains 10 digits, so four zeros must be added to the beginning of the binary number. The resulting binary number is now 00001010110111.

  2. Divide the binary number into the number of parts required by the format of the 14-bit ITU national point code.

    For this example, the format is 3-8-3-0. Since the last part of the point code format is 0, the point code format contains only three parts. Divide the point code into three parts, the first part of the point code contains the first three digits of the 14-digit binary number, the second part of the point code contains the next eight digits of the 14-digit binary number, and the third part of the point code contains the last three digits of the 14-digit binary number.

    For this example, the binary numbers would be divided like this:

    1. 11100110111101 = 111 00110111 101
    2. 00001010110111 = 000 01010110 111
  3. Convert each part of the point code into a decimal number using the same scientific calculator used in step 1 and separate each part of the point code with dashes.

    The results are as follows.

    1. 111 00110111 101 = 7-55-5
    2. 000 01010110 111 = 0-86-7

      When the 14-bit ITU national point codes are converted from single numbers to multiple part point codes, the resulting value of the multiple part point code depends on the point code format specified by the npcfmti parameter of the chg-stpopts command. When converting the single number point code 14781 to the point code format 3-8-3-0, the resulting point code value is 7-55-5. If point code 14781 is converted to the point code format 4-4-4-2, the resulting point code value is 14-6-15-1.