hexadecimal

short question, how do i use this kind of number?

you might need to elaborate on what context you are talking about using it in.
Generally speaking, hexadecimal is a base 16 number representation, like decimal is base 10, octal is base 8, and binary is base 2 are all common ones. Octal, though not used much any more, and hexadecimal are useful in programming because they directly represent groupings of bits, 0-7 is a 3 bit number, 0-F is a 4 bit number. So when you have a byte of data such as b01011010 you can represent it as binary, decimal 90, or hex 0x5A (the 0x being a C delimiter for a hex number, other compilers/assemblers can use other conventions such as ‘h’.) Older systems, let’s say pre-peronal computer, were 9-bit based so they used octal.

There’s another advantage to hexidecimal when you live in a world with 8 bit bytes. A single digit in hex is four bits, so a single byte is two hex digits. In comparison, a single byte can hold values 0-255 in decimal, which means that you need three digits for the byte, and there is nothing special about the low nibble (four bits) or the high nibble. By using hex, you can look at the whole thing in two characters, and either nibble with one or the other character. That’s much more readable if you are using binary processes to mask or flip individual bits.

i have another question about hexadecimal
, if i do ,b+g+e *20 is the answor 760?

You lost me???

If you’re asking what I think you’re asking, you’ve gone outside the bounds of hexadecimal. There is no G in hex - only 0 through F.

Edit: Thinking about this further, I believe that the correct answer is eleventeen.

lol, eleventeen is not a word nor a number
my mistake i meant b+g+f*20 , i geuss i wasn’t thinking strait

:blush:

There is still no G in hexadecimal base-16 counting.

The digits only run from 0 through F, and there is no G. That’s what I was getting at with the “eleventeen” comment above - just like there is no eleventeen in base-10 counting, there is no G in hexadecimal counting.

In regular base-10, when you get to 9 in the ones place and add 1, you increment the next place - in this case, the tens - and continue on: 0…1…2…3…4…5…6…7…8…9…10…11…12…13…14…15…16…17…18…19…20…21…22…

In hexadecimal (base-16), when you get to F in the ones place and add 1, you increment the next place, and continue on:
0…1…2…3…4…5…6…7…8…9…A…B…C…D…E…F…10…11…12…13…14…15…16…17…18…19…1A…1B…1C…1D…1E…1F…20…21…22…