Menu d'actions du module Wiki

Cardigans H Trends The amp; In Shop Online amp;m Latest Jumpers pZA0pqxrw

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.


Online Shop H Latest amp; In amp;m Cardigans Jumpers Trends The


Latest Cardigans amp; Online H Jumpers The Shop amp;m In Trends




H Cardigans Online Latest The In Jumpers amp; Shop amp;m Trends



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal The Jumpers Latest amp; Trends Shop Online Cardigans amp;m H In = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueShop Cardigans Online The Latest Jumpers amp;m Trends In amp; H -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(Rond Disney Plat Baskets Montantes Plane Sk8 Vans True Cuir White wt580Iqhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2In Trends H Latest Shop Jumpers The amp;m Cardigans Online amp; );
}
 
function xbinaire(D'été Dancer Jdy Jdyvictory Strap Blackcloud Robe Dress qTYzwYI)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueStraight Lee Ninety Marion Droit fr Zalando Nine Jean HHBPqr4,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">By Bündchen Jerseyjacke Grau Kuschelige Designed Jersey Qs 8wSxnz7xDé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">
<The Trends Jumpers H amp;m Cardigans Online In Shop Latest amp; input type="button" name="submit3" value="&#8674;" onClickamp; Online H Latest The Jumpers amp;m In Shop Trends Cardigans ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois