The American Standard Code for Information Interchange(ASCII). The Free Table Online Reference
There is a simple for to do this:
var d = 20d.toString(16);
var d = 20
d.toString(16);
If you want to create a function, below is an example:
function d2h(d) {return d.toString(16);}
Nenhum comentário:
Postar um comentário