Converter HEXADECIMAL para Decimal JS

yourNumber = parseInt(hexString, 16);
Parotay