Convert hexadecimal to decimal?

Hello,

I'm a little desperate.
In the computer science module, we learn about number systems. However, I can't explain the "h."

The following task is given.

Convert the following numbers from hexadecimal to decimal:

a) A1h

b) 34Ch

what does the h stand for?

Thank you in advance

1 vote, average: 1.00 out of 1 (1 rating, 1 votes, rated)
You need to be a registered member to rate this.
Loading...
Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
spelman
2 years ago

The "h" indicates that the number is a hexadecimal number. As long as it contains letters, it can be guessed that way, but "11," for example, can be both a decimal and a hexadecimal number (and in many other number systems, such as binary).

spelman
2 years ago
Reply to  Lisalen34

Yes. The h isn't a digit in the hexadecimal system either.

tunik123
2 years ago

The h in A1h indicates hexadecimal numbers, especially in assembly languages.

In C-like languages, 0xA1 is a hexadecimal number.

Hoegaard
2 years ago

The prefix 0x and the suffix h are used particularly in programming, while the dollar prefix is ​​used in assembly language for certain processor families.

https://www.ionos.de/digitalguide/server/knowhow/hexadezimalsystem/

gfntom
2 years ago

This is just the designation of the number system.

12h means: 12 hexadecimal, so 18 d = 18 decimal.

Otherwise you wouldn't know how to interpret "12".