Base 10 to Hex:Left-to-Right
Start dividing by the largest power of the base that is less than or equal to the value; continue with all the lesser powers of the base in order:
1933 base 10 to hex:
1933 div 16**2 = 7 rem 141
141 div 16**1 = 8 rem 13
13 div 16**0 = 13 rem 0
= 78D hex (base 16) ( top-to-bottom and left-to-right )
- Note that 13 is written as the digit D in hexadecimal notation.