WhiteAcid
public javascript v1 · immutable<script type="text/javascript">var hex = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f");function DecToHex(sInput){ var sOutput = ""; while (sInput>0) { sOutput = hex[sInput%16] + sOutput; // remainder sInput = parseInt(sInput/16); // quotient } return sOutput;}for (i=0; i<=10 000; i++){ document.write(i + " = 0x"+DecToHex(i)+"<br />")}</script>