string - print hexadecimal representation of an int -


i looking pseudocode prints hexadecimal represenation of integer string.

thanks!

  • take remainder of integer modulo 16
  • convert remainder hex digit
  • place hex digit left-most position in output string
  • divide integer 16
  • repeat above until value zero

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -