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
Post a Comment