Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[help]decimal to hexadecimal converting for school urgent

Elite Diviner
Joined
Jul 15, 2005
Messages
404
Reaction score
2
say i have a decimal value.
299
i wnat to convert it to hexadecimal.
I follow whats said in my school textbook and I got 12B.
but the textbook answer insist on 12B1,
which is correct? why?

299/16 = 18 (remainder is 11(b))
18/16 = 1 (remainder is 2)
1/16 = 0 (remainder is 1)

So from reading from bottom upwards, it is 1 2 B
hence answer 12B, why is there an additional 1 behind in the textbook saying 12B1??
 
Back
Top