Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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);
 
PREVIOUS NEXT
Tagged: #java #int #hex #fixed #length
ADD COMMENT
Topic
Name
1+1 =