Function to return equivalent character of a given valueString . fromCharCode
function reVal ( num ) { if ( num >= 0 && num <= 9 ) return String . fromCharCode ( num + 48 ) ; else return String . fromCharCode ( num - 10 + 65 ) ; }