Non-decimal radices/Input: Difference between revisions

Added decimal
(Added zkl)
(Added decimal)
Line 1,040:
ns.pump(List,T("toInt",base)).println("\n")
}
b2b(2); b2b(10); b2b(16); b2b(19);</lang>
Print 20 .. 30 in binary, decimal, hex & base 19 (or any base 2 .. 32) and parse them to decimal:
{{out}}
<pre>
L("10100","10101","10110","10111","11000","11001","11010","11011","11100","11101","11110")
L(20,21,22,23,24,25,26,27,28,29,30)
 
L("20","21","22","23","24","25","26","27","28","29","30")
L(20,21,22,23,24,25,26,27,28,29,30)
 
Anonymous user