Houmam sy
1
Q:

java int to hex fixed length

//You can replace X with x to get lower case hex characters
//Replace the 2 with the amount of digits you want
String.format("%02X", value);
1

New to Communities?

Join the community