answersLogoWhite

0


Best Answer

One method:

Take the decimal number, divide by 16.

The remainder of the division will be the least significant (rightmost) digit of the hexadecimal number. (Of couse, convert 10 to a, 11 to b, etc.)

Take the quotient from the previous step, divide it by 16. The remainder will be the next digit of the hexadecimal number (going right to left).

Repeat until the quotient is 0.

Example: Convert 300 to hexadecimal.

300/16 = 18 Remainder 12 (12 is c in hex).

18 /16 = 1 remainder 2.

1/16 = 0 remainder 1.

So the hexadecimal number is 12c.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Use the operating systems built in calculator in "programmer" mode. Set the calculator to 'hexadecimal', type in the number in hexadecimal then set the calculator to 'decimal' and the displayed number will be redisplayed in decimal.

alternatively do it long hand - Hexadecimal means base 16 so the count goes

Decimal Hexidecimal, Decimal Hexidecimal

0---------0----------------16------10

1---------1----------------17------11

2---------2----------------18------12

3---------3----------------19------13

4---------4----------------20------14

5---------5----------------21------15

6---------6----------------22------16

7---------7----------------23------17

8---------8----------------24------18

9---------9----------------25------19

10--------A---------------26------1A

11--------B---------------27------1B

12--------C---------------28------1C

13--------D---------------29------1D

14--------E---------------30------1E

15--------F---------------31------1F

etc.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert decimal to hexidecimal?
Write your answer...
Submit
Still have questions?
magnify glass
imp