Home > Mobile >  Excuse me the picture is to use what method to convert hexadecimal decimal?
Excuse me the picture is to use what method to convert hexadecimal decimal?

Time:11-30

CodePudding user response:

For example,
Decimal 12345=1 * 10000 + 2 + 3 * 100 * 1000 + 4 * 10 + 5
10 ^ 4 + 2=1 * * 10 ^ 3 + 3 * 10 * 10 ^ 1 ^ 2 + 4 + 5
Hexadecimal 9 abcd=9 * 16 * 16 ^ 3 ^ 4 + A + B * 16 * 16 ^ ^ 2 + C + 1 D

Hex2 function is to convert character number, are based on ASCII value, was converted to 10 B was converted to 11, etc.,
  •  Tags:  
  • Qt
  • Related