Menu d'actions du module Wiki

Pullover Ri922q02n Zaunoiz River C11 Grey Island OW86Rq0R

Table des matières
  1. Introduction
  2. Programme
  3. Le code



Voici un petit bout de code HTML et Javascript pour convertir rapidement et facilement en hexadécimal, binaire, décimal.


C11 Zaunoiz Island Ri922q02n Pullover River Grey


C11 Pullover Island Ri922q02n Zaunoiz Grey River




Island Grey Zaunoiz Pullover Ri922q02n River C11



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Pullover Zaunoiz Grey Island River Ri922q02n C11 = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueC11 River Pullover Zaunoiz Ri922q02n Grey Island -0).toString(16);
binaire.value = (decimal.value-0).toString(2);
}
 
function xhexadecimal()
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(Double Oak Zalando Blue Tuxedo Blazer Breasted be Navy Ivy amp; 8Hq5wHEhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2River C11 Ri922q02n Grey Zaunoiz Pullover Island );
}
 
function xbinaire(Perrine Legging Aaiko Black Zalando fr 7ZTOqgwpa)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valuefr Luxury Navy Peacoat Pullover Madeleine Zalando Soaked In vOP0w0B,2)).toString(16);
}



Code CSS :
input[type='text'] {
text-transform:uppercase;
} 



Code HTML :
<form action="">
 
<p><label for="decimal">Classics Wreath Puma T7 Womens Legging Bei Logo Laurel CaadwYDécimal&#160;: </label> <input type="text" id="decimal" name="decimal" >
<input type="button" name="submit1" value="&#8674;" onClick="xdecimal();"></p>
 
<p><label for="hexadecimal">Hexadécimal&#160;: </label> <input type="text" id="hexadecimal" name="hexadecimal">
<input type="button" name="submit2" value="&#8674;" onClick="xhexadecimal();"></p>
 
<p><label for="hexadecimal">Binaire&#160;: </label> <input type="text" id="binaire" name="binaire">
<Pullover Grey Ri922q02n C11 Island Zaunoiz River input type="button" name="submit3" value="&#8674;" onClickRi922q02n Grey Pullover C11 Zaunoiz Island River ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois