Description Usage Arguments Value Examples
Takes a number of any base 1-26 and returns the same number with the base of your choice (1-26)
1 | base.change(x, base.origin, base.out)
|
x |
a number; must be alphanumeric for base greater than 10 |
base.origin |
integer or character; 1-26 indicating base of x. Must a character value for alphanumeic numbers |
base.out |
a number; 1-26 indicating base of returned x |
number in base of choice
1 2 | base.change("39F2",16,2) # hexadecimal to binary
paste(base.change(989,10,16),base.change(2002633725,10,16),sep=".") # PIT code 989.2002633725 from decimal to hexadecimal
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.