var DecimalValue = parseInt(HexadecimalValue, 16);
//Decimal to Hex
function d2h(d) {return d.toString(16);}
// Hex to Decimal
function h2d(h) {return parseInt(h,16);}
How to Convert Hexadecimal number to decimal in JavaScript?
Reviewed by Bhaumik Patel
on
7:37 PM
Rating: 5