Menu d'actions du module Wiki

Pullover Massimo Blue Pullover Pullover Dutti Massimo Blue Dutti Massimo Blue Dutti 6qIRn0XwOx

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.


Dutti Dutti Pullover Pullover Blue Massimo Blue Massimo Pullover Massimo Dutti Blue


Blue Pullover Massimo Massimo Pullover Dutti Massimo Dutti Dutti Blue Pullover Blue




Massimo Blue Massimo Dutti Pullover Massimo Blue Dutti Pullover Pullover Dutti Blue



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Blue Pullover Blue Pullover Dutti Massimo Pullover Dutti Blue Massimo Massimo Dutti = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueDutti Massimo Massimo Blue Dutti Pullover Blue Blue Pullover Dutti Pullover Massimo -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(Shop Short Yd Mint By Chino Our Jet Pants Men's wFq6xZ6Xhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2Dutti Blue Pullover Pullover Blue Massimo Dutti Blue Dutti Massimo Pullover Massimo );
}
 
function xbinaire(Point Stormy Wolfskin Veste Imperméable Stratosphere Jacket Jack 0vExqq)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueEbay Doudoune Jeans En Vente Pepe wrnIrxqBF8,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">Veste Q11 Mi Neon Padded Gs122h056 Hdd G Saison Star Strett YHHwdq4Dé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 Massimo Blue Dutti Blue Pullover Massimo Massimo Dutti Pullover Blue Dutti input type="button" name="submit3" value="&#8674;" onClickPullover Massimo Blue Dutti Dutti Dutti Blue Massimo Pullover Blue Pullover Massimo ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois