Number Converter
Converts numbers to various other number systemsEnter an integer. It will be converted to different representations.
A few examples
Decimal | Hexadecimal | Octal | Binary |
---|---|---|---|
5 | 5 | 5 | 0101 |
10 | A | 12 | 1010 |
22 | 16 | 26 | 0001 0110 |
100 | 64 | 144 | 0100 |
500 | 1F4 | 764 | 0001 1111 0100 |
250 | FA | 372 | 1111 1010 |
A few examples for 2-complement
Decimal | Hexadecimal | Octal | Binary (16-bit) |
---|---|---|---|
5 | 5 | 5 | 0000 0000 0000 0101 |
10 | A | 12 | 0000 0000 0000 1010 |
22 | 16 | 26 | 0000 0000 0001 0110 |
100 | 64 | 144 | 0000 0000 0110 0100 |
-2 | FFFE | 177776 | 1111 1111 1111 1110 |
-10 | FFF6 | 177766 | 1111 1111 1111 0110 |
-100 | FF9C | 177634 | 1111 1111 1001 1100 |
Author: Jean Michel Polak
The number converter can convert an integer from one numeral system to another numeral system. Four numeric systems are available: decimal system, binary system, octal system and hexadecimal system.
If you enter a suitable number in the text field of a numeral system, the number - converted - appears immediately in the other text fields. If you change a number, all fields are immediately recalculated.
You can also display the binary number in two's complement. The two's complement is a representation of negative Integer numbers in the dual system, which does not need additional characters like + and -. Here you can set the number of bits used to display the binary number.
Reference
A numeral system is a system for representing numbers. The representation format is not necessarily fixed, many numeral systems are realized in a payment script or payment words. A number is generated according to syntactic rules as a sequence of numerals, also called numbers are shown.