How to convert hexadecimal value to integer in java-please guide us.
Manohar Changed status to publish July 7, 2019
public String convertHexadecimalToInteger(String hexadecimalVal) { int integerVal = Integer.parseInt(hexadecimalVal, 16); //Here converting Hexadecimal to Integer String stringConvertedValue = new Integer(integerVal).toString(); // Here converting Integer to String return stringConvertedValue; }
Try above snippet and let us know.
Manohar Changed status to publish July 7, 2019