NonStop NS-Series Operations Guide (H06.12+)
1. Divide the decimal number by 16. The remainder of this first division becomes the least
significant (rightmost) digit of the hexadecimal value. If the remainder exceeds 9, convert
the 2-digit remainder to its hexadecimal letter equivalent. Use this table for conversion.
HexadecimalDecimal
A10
B11
C12
D13
E14
F15
2. Divide the quotient from Step 1 by 16, and use the remainder of this next division as the
next digit (to the left) of the hexadecimal value (converting 2-digit remainders as necessary).
Continue to divide the quotients by 16 until the decimal number is exhausted. The remainder
from the last division is the most significant (leftmost) digit of the hexadecimal value.
Example
Convert the decimal value 47632 to its hexadecimal equivalent. (In this example, the symbol “/”
indicates division.)
RemainderQuotientDivisionStep
remainder = least
significant
(rightmost) digit
02977=47632/161.
1186=2977/162.
10 = A11=186/163.
remainder = most
significant
(leftmost) digit
11 = B0=11/164.
The result is:
Hexadecimal ValueDecimal Value
%HBA1047632
210 Converting Numbers










