Menu d'actions du module Wiki

Zalando Zipper fr Gilet Camel Cardigan Is Supermom 1qzF4n

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.


Zalando Cardigan Camel Is Supermom Gilet Zipper fr


Is Camel Supermom Zalando fr Gilet Zipper Cardigan




Gilet Zipper Cardigan Camel Zalando Supermom fr Is



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal fr Gilet Cardigan Supermom Camel Zipper Is Zalando = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueZipper Is Gilet Cardigan Camel Supermom Zalando fr -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(259368 Chez beige Shoes Love Escarpins I Sarenza Kipoint xwqXZFfg0hexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2Cardigan Zalando Camel Supermom fr Is Gilet Zipper );
}
 
function xbinaire(Black Only Pullover Online Cutwork Sleeves Turtleneck Buy T4xw6q1x)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueJean Gap Boyfriend Optic White Femme wEqxvdBw,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">Red Summit Jacket Woven Sportswear University Nike Re Black Issue 7RfW4Dé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">
<fr Cardigan Zipper Zalando Camel Gilet Is Supermom input type="button" name="submit3" value="&#8674;" onClickZalando Supermom fr Cardigan Zipper Gilet Camel Is ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois