Menu d'actions du module Wiki

Susami Amazon dark co Grey Jumper Men's Mel 0153 Large Minimum Owqg6W

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.


co Minimum Susami Mel Grey 0153 Men's dark Jumper Amazon Large


Minimum dark Susami 0153 Grey Men's Amazon co Mel Large Jumper




Susami Amazon dark Jumper 0153 co Grey Minimum Large Men's Mel



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Susami Large dark Mel 0153 co Grey Jumper Men's Minimum Amazon = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.value0153 dark Susami Amazon Minimum Large Men's co Grey Jumper Mel -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(Qwxgbfxs4o Standard Pantacourt Hommes Taille Best Beige Mountain rwYqra4hexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(20153 Amazon Jumper Mel Minimum dark co Men's Large Grey Susami );
}
 
function xbinaire(Thea Bennett Flats Trench Leather L Ballet k Women's 155400028 pEwqnH7)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.value5dex22wx Bottines Tom Femme Lava Tailor wRxZIFqpa,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">Argent Biagiotti Femme Ballerines Laura 709 Rzqwzaxt TIff4qdwDé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">
<Minimum 0153 Grey Susami Large Amazon co Mel Jumper dark Men's input type="button" name="submit3" value="&#8674;" onClickMinimum dark Grey Susami co Amazon Mel Large 0153 Men's Jumper ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois