Jump to content

Talk:Number bases

Page contents not supported in other languages.
Add topic
From Wikiversity
Latest comment: 2 years ago by Username142857 in topic Other number bases?

I was able to create the MediaWiki table for this page using the HTML and JavaScript below, inspired by the JavaScript used at: http://www.minus40.info/sky/binaryoctalhexdec.html. If anyone knows how to add additional number bases to the table, please do so, thanks! Nicole Sharp (discusscontribs) 06:15, 8 April 2017 (UTC)Reply

<html>
<body>

<code>
{|class=wikitable<br>
! base 10<br>
! base 2<br>
! base 4<br>
! base 8<br>
! base 16<br>
! base 32<br>
<script>
var n = 0;
while (n < 257) {document.write("|- " + "<br>" + "| " + n + "<br>" + "| " + n.toString(2) + "<br>" + "| " + n.toString(4) + "<br>" + "| " + n.toString(8) + "<br>" + "| " + n.toString(16) + "<br>" + "| " + n.toString(32) + "<br>"); n = n + 1;}
</script>
|}
</code>

</body>
</html>

centoctovigesimal

[edit source]

Content page

[edit source]

Hi Nicole Sharp!

Currently, your resource Number bases is not being counted as a content page here on Wikiversity! See Page information under Tools.

All you have to do to have this resource counted is include a link to another Wikiversity resource! Cheers! --Marshallsumter (discusscontribs) 03:32, 11 April 2017 (UTC)Reply

Other number bases?

[edit source]

Don't non-power-of-two number bases other than 10 exist? Username142857 (discusscontribs) 09:06, 6 December 2022 (UTC)Reply