« Learn Hexadecimal and Binary Rvalue References Applied »

### 5 comments

1. § Alien426 said on :

No, it is not fixed.

It used to be a copy of the binary conversion with just the radix changed from 2 to 16.

Now you it reads:
237 / 16 224 D16 (13) (160)
224 / 16 13 E16 (14) (161)

You just put in the numbers from your (hex to dec) comment.

2. § Paul Watt®   said on :

Thanks for clarifying, I understand what you were indicating.
It’s now corrected.

Thank you again.

3. § Alien426 said on :

The result is correct. The calculation is not. Please fix it.

4. § Paul Watt®   said on :

Thanks for double-checking my work.

However, 0xED is the correct conversion for 237 from decimal to hexadecimal. A quick way to verify this is to convert 0xED back to decimal:

0xE(14) * 16 + 0xD(13) * 1 = 224 + 13 = 237

The quotient (answer to the division) is the value that we want to fill in the place-value spot during number conversion.
The remainder is what is left and carries over to the next lower place-value column.

5. § Alien426 said on :

The conversion of decimal 237 to hexadecimal is incorrect.

It should be:
237 / 16 = 14, remainder 13 -> 0xD
14 / 16 = 0, remainder 14 -> 0xE

Form is loading...

Contact / Help. ©2018 by Paul Watt; Charon adapted from work by daroz. blogging software / low cost web hosting.
Design & icons by N.Design Studio. Skin by Tender Feelings / Skin Faktory.