Convert Decimal to Hex


covert.js
var number = 155;
number.toString(16);  // will returns "9b"

Share This Post