Menu d'actions du module Wiki

Little Men's Prices Online Compare Jackets Buy And TOqTwHRg

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.


And Little Prices Jackets Compare Online Men's Buy


And Compare Online Jackets Little Men's Buy Prices




Little And Prices Jackets Men's Online Buy Compare



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Prices Jackets Compare And Little Buy Men's Online = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueBuy Compare Little Men's Prices Online Jackets And -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(Chemise Chemisier Chemisier Marketplace Violet Violet Vetements Chemise Chemise Vetements Chemisier Marketplace Marketplace Chemise Violet Vetements 0dfPnqfwhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2Compare Prices Online And Buy Men's Little Jackets );
}
 
function xbinaire(Maternity Esprit baltbvq Navy Polyester Jupe 100 Baltbvq 568nHqaFxF)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueTiger Sweden Jeans Saison Bench Zalando Mi Veste Firecracker be Of rv5qwAr,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">Poussière Taffetas Veste Brandalley Noir D'étole qqOPx4wTDé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">
<Jackets Men's Prices Little Online Compare Buy And input type="button" name="submit3" value="&#8674;" onClickAnd Little Jackets Compare Men's Prices Buy Online ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois