Base decode: Difference between revisions

From The K Language Wiki
Content added Content deleted
(add base decode page)
 
("Add category")
Line 13:
0 16 40
</pre>
 
[[Category:Adverbs]]

Revision as of 02:41, 9 July 2022

Base decode
x/y

Base decode or just decode takes an integer y and decodes it into a digit array using the bases in x. It performs the inverse of base encode.

If x is an atom, decodes the number fully, using x as many times as needed.

 2 2\5
0 1
 2\5
1 0 1
 24 60 60\1000
0 16 40