0

How to convert any number into hexa decimal format

13th Feb 2017, 3:37 PM
Siddharth Upadhyay
Siddharth Upadhyay - avatar
2 odpowiedzi
+ 14
num.toString(16);
13th Feb 2017, 3:49 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
//convert int to hex in Java int Val= 255; String Hex=Integer.toHexString(Val); System.out.println(Hex); //output == FF
13th Feb 2017, 4:22 PM
Michael W
Michael W - avatar