Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
How to convert any number into hexa decimal format
2 Réponses
+ 14
num.toString(16);
+ 1
//convert int to hex in Java
int Val= 255;
String Hex=Integer.toHexString(Val);
System.out.println(Hex);
//output == FF