Computer Science
Hexadecimal to Decimal
Convert hexadecimal number to decimal.
Decimal = Σ(digit × 16^position)
Formula Explanation
Each digit is multiplied by the corresponding power of 16.
Variables Explained
position starts from 0 on the right.
Solved Example
Convert 2A₁₆ to decimal.
2×16 + 10 = 42.