javascript convert number to hex
snippet in javascript

javascript convert number to hex

user5985

yourNumber = parseInt(hexString, 16);

javascript convert number to hex

user5540

hexString = yourNumber.toString(16);