Re: mental hex/decimal conversion?
- From: "Bob J." <rjustice004@xxxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Sat, 11 Apr 2009 17:14:44 -0700
Jerry,
If you can do that in your head without the need for notetaking,
congratulations!
Bob
----- Original Message -----
From: "Jerry Richer" <jerry@xxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, April 11, 2009 1:14 PM
Subject: Re: mental hex/decimal conversion?
OK, take your hex number.
! Count the number of digits from right to left starting with zero, let's
call that number x
! Multiply that digit by 16 to the power x
! Set the result aside
! Move one digit to the right
! Multiply that digit by 16 to the power x-1
! Set the result aside
! Move one digit to the right
! Multiply that digit by 16 to the power x-2
! Set the result aside
! Continue until you get to the right most digit and finally multiply it by
16 to the power x-x or zero
! Now add all these set aside numbers together to get the base 10 equivalent
of your hex number
Jerry
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
Other related posts: