Hexadecimal to Decimal
It is same as binary to decimal just change is instead of 2 use 16.
See Binary to Decimal post.
To convert from binary to decimal multiply digits ahead of decimal point by 160 to 16n starting from LSD(Least Significant Digit) to MSD(Most Significant Digit) and for binary digits after decimal point multiply by (1/16)1 to (1/16)n starting from right to left.
Let's see some examples:
See Binary to Decimal post.
To convert from binary to decimal multiply digits ahead of decimal point by 160 to 16n starting from LSD(Least Significant Digit) to MSD(Most Significant Digit) and for binary digits after decimal point multiply by (1/16)1 to (1/16)n starting from right to left.
Let's see some examples:
No comments:
Post a Comment