Rakdos Posted September 11, 2004 Share Posted September 11, 2004 Is any one here familar with the hexadecimal system if you can you help me understand it?? Do you take the number divide by 16 the quotient is the 1st charcter and the remander is the second?? E.X. [math]173/16[/math] is 10 with remainder 13 so the hex number world be AD right?? Link to comment Share on other sites More sharing options...
Dave Posted September 11, 2004 Share Posted September 11, 2004 Think of how we do the decimal system: hundreds, tens and units: HTU 110 = 1 * 100 + 1 * 10 + 0 * 1 We handle hexidecimal in the same way, except we have powers of 16 instead of powers of 10 as our "bits". And instead of just going up to 9, we can use 0-9 and A-E (A = 10, E = 15). For example: 16 1 A E = 16 * 10 + 15 * 1 = 175 in decimal Hope this helps a bit, I think the way I've worded it is a bit complex though - mainly because it's 3am and I'm quite tired Link to comment Share on other sites More sharing options...
Rakdos Posted September 11, 2004 Author Share Posted September 11, 2004 Thanks dave that really helps alot i need to know hex for my cisco certifcation test Link to comment Share on other sites More sharing options...
pulkit Posted September 11, 2004 Share Posted September 11, 2004 To convert integers to hex, just keep dividing by 16. You will get the hex code right to left in the successive remainders. For decimals keep multiply by 16 and keep takin integral part, its'll give u hex from left to right from the decimal point. Link to comment Share on other sites More sharing options...
Dave Posted September 11, 2004 Share Posted September 11, 2004 Or convert to binary, and then it's a simple conversion to get from that to hex. Link to comment Share on other sites More sharing options...
pulkit Posted September 11, 2004 Share Posted September 11, 2004 Or convert to binary, and then it's a simple conversion to get from that to hex. Yes. You have to group in fours either side of decimal point and replace the group by approprite hex value. Link to comment Share on other sites More sharing options...
Dave Posted September 11, 2004 Share Posted September 11, 2004 When I was doing my computing course, I found this the easier method of the two, but it's totally up to whatever you decide. It's particularly useful when you come to do two's complement and fractional stuff. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now