At 03:45 PM 10/11/00, you wrote: >thx anyway,, i got it,, what i did was take the original integer, divided by >16, took the result after the decimal times 16, that was the rightmost digit, >then loop it >i was just trying to do this to understand hex better If you want to read up on bases here is a good discussion http://www2.ncsu.edu/unity/lockers/users/f/felder/public/kenny/papers/bases.html