Home / All categories / Popular / How to translate a decimal number

How to convert a decimal number

/
6 Views

How to convert a decimal number

There are several numeration systems. So, the usual decimal number can be represented, for example, in the form of binary characters? This will be a binary number encoding.

In the octal system with base 8, the number is written by a set of digits from 0 to 7. But the most common is the hexadecimal number system, or the system with the base 16.

To write a number, the numbers from 0 to 9 and Latin letters from A to F are taken here. You can use the correspondence table to convert the decimal number to its hexadecimal form.

A number greater than 15 is translated by a simple expansion in powers, by repeating the division operation on the base 16.

Instructions

    1

Write down the original decimal number. If number Less than or equal to 15, then to write it inHexadecimal form, use the matching table. The numbers older than 9 are replaced by an alphabetic designation, so 10 corresponds to the letter A with a base of 16, and 15? The letter F.

How to translate the decimal & lt-strong & gt-number & lt- / strong & gt-

    2

If number More than 15, to divide into a hexadecimal representation, divide it by 16. Select the remainder of the division.

How to translate the decimal & lt-strong & gt-number & lt- / strong & gt-

    3

Check the received quotient, not less than 16. If the quotient is greater than or equal to 16, divide the quotient by 16. Select the remainder of the division. Divide the results by 16 as many times as necessary to get a private less than 16. If the quotient is less than 16, select it as the remainder.

How to translate the decimal & lt-strong & gt-number & lt- / strong & gt-

    4

Write down the received balances, starting with the last number. The balance from numberM over 9, replace the matching table with the letter of the hexadecimal system. The resulting record is a hexadecimal representation of the original decimal number.

How to translate the decimal & lt-strong & gt-number & lt- / strong & gt-

It is main inner container footer text