0

Decoded

Num from N-ary
Radix

Encoded

Num to N-ary
Radix

About N-ary numbers

N-ary numbers (base N) represent numbers in positional notation with N symbols (usually numbers "0-9" and letters "A-Z").

DenCode supports bases from 2 to 36. For bases larger than 10 (11 to 36), letters of the alphabet starting from "A" are used in order to represent numbers of 10 or more. For example, 10 to 15 are represented by A to F in base 16, and 10 to 35 are represented by A to Z in base 36.

An example of conversion in each radix is as follows.

DecimalBinaryOctalHexadecimalBase 32Base 36
000000
111111
2102222
71117777
8100010888
9100111999
10101012AAA
15111117FFF
16100002010GG
17100012111HH
3111111371FVV
32100000402010W
35100011432313Z
3610010044241410

Also, numbers after the decimal point are converted as N-1 (1/N), N-2 (1/N2), N-3 (1/N3), ... in N-ary numbers. If the number after the decimal point cannot be represented by the total of N-n, it cannot be completely converted to N-ary and an error will occur. In that case, DenCode omits it by adding "..." at the end.

DecimalBinaryOctalHexadecimalBase 32Base 36
0.50.10.40.80.G0.I
0.750.110.60.C0.O0.R
0.90.11100110011001...0.71463...0.E666...0.SPJ6...0.W...