NonStop NS-Series Operations Guide (H06.12+)
044=88/23.
022=44/24.
011=22/25.
15=11/26.
12=5/27.
01=2/28.
remainder = most
significant
(leftmost) digit
10=1/29.
The result is:
Binary ValueDecimal Value
%B101100010354
Decimal to Octal
To convert a decimal number to an octal number:
1. Divide the decimal number by 8. The remainder of this first division becomes the least
significant (rightmost) digit of the octal value.
2. Divide the quotient from Step 1 by 8, and use the remainder of the next division as the next
digit (to the left) of the octal value. Continue to divide the quotients by 8 until the decimal
number is exhausted. The remainder from the last division is the most significant (leftmost)
digit of the octal value.
Example
Convert the decimal value 358 to its octal equivalent. (In this example, the symbol “/” indicates
division.)
RemainderQuotientDivisionStep
remainder = least
significant
(rightmost) digit
644=358/81.
45=44/82.
remainder = most
significant
(leftmost) digit
50=5/83.
The result is:
Octal ValueDecimal Value
%546358
Decimal to Hexadecimal
To convert a decimal number to a hexadecimal number:
Decimal to Octal 209










