For each position, you calculate the power of 16. Of course, we can also use the Scilab function hex2dec() to convert from hexadecimal to decimal.įor any questions, observations and queries regarding this article, use the comment form below. To transform a hex number to a decimal number, first, you convert the letters to numbers. The advantage of the second one is that it deals with simpler multiplications and can be performed without a handheld calculator or software. Perform the sum of the multiplications to get the decimal number \Īs you can see, we obtained the same result with both methods.
0 Comments
Leave a Reply. |