Converting Numbers

Hexadecimal to Decimal

Hexadecimal to Decimal

To convert a hexadecimal number to a decimal number:

1.Starting from the right, multiply the least significant (rightmost) hexadecimal digit by the first placeholder value. Moving towards the left, multiply each new hexadecimal digit by its corresponding placeholder value until the hexadecimal number is exhausted.

To establish placeholder values, the first placeholder value (on the far right) is 1. Then for each new placeholder value to the left, multiply the value to the right by 16.

Convert the letters of a hexadecimal number to decimal values before multiplying. Use this table for conversion:

Hexadecimal Decimal

A10

B11

C12

D13

E14

F15

2. Add the results of the multiplications in Step 1.

Example

Convert the hexadecimal value BA10 to its decimal equivalent. (In this example, the symbol “*” indicates multiplication.) Refer to Figure D-3.

HP Integrity NonStop NS-Series Operations Guide529869-005

D-5

Page 247
Image 247
HP NonStop NS manual Hexadecimal to Decimal, Hexadecimal Decimal