Glossaria.net

Glossary Robotics / Term

hexadecimal

A number representation using the digits 0-9, with their usual meaning, plus the letters A-F (or a-f) to represent hexadecimal digits with values of (decimal) 10 to 15. The right-most digit counts ones, the next counts multiples of 16, then 16^2 = 256, etc. For example, hexadecimal BEAD is decimal 48813: digit weight value B = 11 16^3 = 4096 11*4096 = 45056 E = 14 16^2 = 256 14* 256 = 3584 A = 10 16^1 = 16 10* 16 = 160 D = 13 16^0 = 1 13* 1 = 13 ----- BEAD = 48813 There are many conventions for distinguishing hexadecimal numbers from decimal or other bases in programs. In C for example, the prefix “0x” is used, e.g. 0x694A11.

Permanent link hexadecimal - Creation date 2023-02-20


< heuristic Glossary / Robotics high level language >