java - Convert int to hex string need a better way -


i doing method can convert int number hexadecimal string. code work test, still looking efficient way rid of array part. give me hand? better way not using array, rather use string type more efficient, , answer clear above. delete original code

string digits = "0123456789abcdef";  output = digits.charat(remain) + output; 

i hope there no convertion problems.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -