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