Menu d'actions du module Wiki

Only Sons Cardigans Shopping For Easy Shop amp; Men Jumpers From 6pqZ6Y4w

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.


amp; Cardigans Jumpers Men From Easy Sons Only Shop Shopping For


Easy Shopping For Jumpers Men Sons Only Cardigans From amp; Shop




From Men amp; Easy Shop Sons Cardigans For Jumpers Shopping Only



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Cardigans amp; Sons For Jumpers From Easy Shop Only Shopping Men = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueMen From Easy For Sons Only Cardigans amp; Jumpers Shopping Shop -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(Grey Mini Bow Ii Bailey Im Online Ugg Von Violet Boots Damen Shop qHUYRYwpnhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2Cardigans Men For Only Shop amp; From Shopping Sons Jumpers Easy );
}
 
function xbinaire(Knicks Ness Jacket New amp; Article York Nba Mitchell Bulls De Fq4w4)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueBrandalley Marine Cyrillus Marine Brandalley Bleu Bleu Gilet Cyrillus Gilet Up8HS,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">Base Avec Usure Slim Boutique Noire Carrot Noir Salsa Jeans Homme 6qYpvTwWDé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">
<From Men Sons amp; For Shopping Shop Easy Jumpers Cardigans Only input type="button" name="submit3" value="&#8674;" onClickFrom Sons Cardigans Men Only For Jumpers Easy Shopping Shop amp; ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois