function Dec2Hex(iDec) {
    return iDec.toString(16);
}

function Hex2Dec(sHex) {
    return parseInt(sHex, 16);
}




Posted by bloodguy
,