Hexadecimal avec javascript

Fermé
djneo - 18 août 2001 à 16:51
 baracuda - 10 oct. 2008 à 22:10
comment on fait pour utiliser l'hexadecimal en javascript?
je voudrais faire des calculssur de l'hexadecimal et je sais pas comment faire
A voir également:

2 réponses

Voici :
function d2h(d) {return d.toString(16);}
function h2d(h) {return parseInt(h,16);}
Cordialement,

Nicolas
1
merci
0