Decimal to-hexadecimal
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Decimal to-hexadecimal

  • 1,199 views
Uploaded on

Learn to convert decimal numbers to hexadecimal ones, and hexadecimal numbers back to decimal system. This base conversion has to do with programming and digital electronics.

Learn to convert decimal numbers to hexadecimal ones, and hexadecimal numbers back to decimal system. This base conversion has to do with programming and digital electronics.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,199
On Slideshare
1,198
From Embeds
1
Number of Embeds
1

Actions

Shares
Downloads
22
Comments
0
Likes
0

Embeds 1

http://blackboard.bk.org 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Decimal to Hexadecimal and Hexadecimal to Decimal Base Conversion
  • 2.
    • 2,345 10 = 2000 2 x 10 3
    • 300 3 x 10 2
    • 40 4 x 10 1
    • 5 5 x 10 0
    Decimal Numbers 3 2 1 0 power of 10
  • 3. System Numbers
    • Binary Octal Decimal Hexadecimal
    • 0 - 1 0 - 7 0 - 9 0 – 9 and
    • A = 10
    • B = 11
    • C = 12
    • D = 13
    • E = 14
    • F = 15
  • 4.
    • A7F4 H = A x 16 3 10 x 16 3
    • 7 x 16 2 7 x 16 2
    • F x 16 1 15 x 16 1
    • 4 x 16 0 4 x 16 0
    • 42,996 10
    Hexadecimal Numbers to Decimal 3 2 1 0 power of 16
  • 5.
    • 0.1A2 16 = 1 x 16 -1 0.0625
    • 10 x 16 -2 0.0390625
    • 2 x 16 -3 0.00048828
    • 0.10205078 10
    Hex Numbers to Decimal 0 -1 -2 -3 power of 16
  • 6. Decimal to Hexadecimal
    • 3168 10 = ? 16
    • 3168 / 16 = 198 and rem = 0 ( _ _ _ 0 16 )
    • 198 / 16 = 12 and rem = 6 ( finish! C60 16 )
    • (keep dividing by the base until quotient < base)
  • 7. Decimal to Hexadecimal
    • 7732 10 = ? 16
    • 7732 / 16 = 483 and rem = 4 ( _ _ _ 4 16 )
    • 483 / 16 = 30 and rem = 3 ( _ _ 34 16 )
    • 30 / 16 = 1 and rem = 14 ( finish! 1E34 16 )
    • (keep dividing by the base until quotient < base)
  • 8. Decimal Numbers to Hex
    • 0.342 10 = ? 16
    • 0.342 x 16 = 5 .472 ( . 5 16 )
    • 0.472 x 16 = 7 .552 ( . 57 16 )
    • 0.552 x 16 = 8 .832 ( . 578 16 )
    • 0.832 x 16 = 13 .312 ( . 578D 16 )
    • 0.342 10 ≈ 0.578D 16 it’s an approximation
    • Take the integer part of every multiplication to form the binary number. You can go on many more multiplications to improve the accuracy of the conversion.
  • 9. Online Base Conversion
    • For an online calculator for base conversions, see:
    • matrixlab - examples.com /base- conversion.html