Hexadecimal: Difference between revisions

→‎Uses: There was already an example below so having one here was redundant
(→‎Uses: There was already an example below so having one here was redundant)
Line 4:
 
== Uses ==
The hexadecimal number system is used widely in the Electronics and Computer Industry, as although digital electronics is based on gates with only two states and is therefore fundamentally binary, binary numbers can quickly become long and hard to transcribe without errors. Their hexadecimal equivalents are much shorter and easier to remember, and have a straight-forward way of conversion to/from binary. You can easily convert from hex to binary by converting each hexadecimal digit individually and concatenating the result of each.
 
For example, to convert <code>E4</code> to binary, convert <code>E</code> to binary (<code>1110</code>) and <code>4</code> to binary (<code>0100</code>). Then put them together to get <code>11100100</code> which is the binary representation of <code>E4</code>.
 
=== Hex Dump ===
A textual representation of data where values are expressed in hexadecimal. Often used to show the contents of regions of memory where both the memory addresses as well as the memory contents may be expressed in hexadecimal.
1,489

edits