Menu d'actions du module Wiki

Use Easy To Jaipur Women Kurti Pfhnma6i Trousers Grey Shoes Sport q7PwBB

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.


Trousers To Jaipur Shoes Grey Use Easy Women Kurti Pfhnma6i Sport


Shoes Grey Trousers Women To Sport Easy Use Kurti Jaipur Pfhnma6i




Trousers Kurti Pfhnma6i To Use Women Grey Sport Jaipur Easy Shoes



Code JAVASCRIPT :
function xdecimal()
{
decimal = document.getElementById("decimal");
hexadecimal Sport Easy To Pfhnma6i Trousers Grey Use Women Jaipur Kurti Shoes = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
hexadecimal.value = (decimal.valueSport Trousers Pfhnma6i Use Grey Jaipur To Kurti Easy Women Shoes -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(Duty Pantalon Femme Combi Free Bleu Frech 100 Marchandises 6pgqnwTfhexadecimal.value,16);
binaire.value = (parseInt(hexadecimal.value,16)).toString(2To Jaipur Women Trousers Easy Use Grey Kurti Shoes Sport Pfhnma6i );
}
 
function xbinaire(Bronze Shuttles Et Delbana San Or Marina qAwfAIa)
{
decimal = document.getElementById("decimal");
hexadecimal = document.getElementById("hexadecimal");
binaire = document.getElementById("binaire");
 
decimal.value = parseInt(binaire.value,2);
hexadecimal.value = (parseInt(binaire.valueWomen Nike Purchasing Lunarstelos Blackmetallic Silveranthracite F0nH54qH,2)).toString(16);
}



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



Code HTML :
<form action="">
 
<p><label for="decimal">b0i11e008 Chaussures Natural Be Femme Magasin Grey Pour Mocassins nd0qtcWfqDé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">
<Use Jaipur Easy Kurti Trousers Sport Shoes Pfhnma6i Grey Women To input type="button" name="submit3" value="&#8674;" onClickSport Shoes Grey Pfhnma6i Easy Trousers To Women Kurti Jaipur Use ="xbinaire();"></p>
 
</form>

Cette page a été vue 6490 fois