# Thread: Decimal binary and hexa numbers convertion

1. ## Decimal binary and hexa numbers convertion

Hi, guys!

I've noticed many people asked for hexadecimal editor and also how those numbers are made.

I would like to explain better about the base number, however I don't think it's the appropriated time.
so maximum that i can say is...

We know the simple number system(decimal) - 0 to 9
we know the binary - 0 and 1
we know the octagonal - 0 to 8
and also the hexadecimal - 0 to 9 + A to F : 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F.

to converter a number decimal to binary is simple and we only divide the number by 2 and save number and read from the end to the begining. Ex:

Code:
```45  | 2
-------
1    |22 | 2
------------
0   | 11  | 2
-------------------
1   |  5   | 2
------------------------
1  | 2 | 2
-----------------------------
0 |  1 | 2
----------------------------------
1   | 0```
-------------> and you read from the end to the begining. It means the 45 in binary is the invert of the rest of the division by 2.

45 / 2 = 101101

look easy to solve/converter. but the hexadecimals are a bit complex cuz you have to convert the Decimal>Binary>Hexa ... to memorize some strings.
Code:
```Binary | Hexa
------|----------
0       |0
1       |  1
10     | 2
11       | 3
100      | 4
101     | 5
110  |   6
111   |  7
1000   |8
1001  |  9
1010  | A
1011  |  B
1100   | C
1101   | D
1110   | E
1111  | F```
I will show some examples on a calculator on the next post when i will be able to add links

So... Sometimes it requires time to convert number.
We can use a simple editor and also convertor to do it and save our time
the one that i use for months is the "wxHexEditor" 1.2MB

you can search it on google - i'd love to put the link here...

I hope I would help you guys to save some mins for our precious time of development.

Enjoy!
R[[]]

Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•