Non-decimal radices/Input: Difference between revisions

Content added Content deleted
mNo edit summary
Line 15: Line 15:
<lang 11l>V s = ‘100’
<lang 11l>V s = ‘100’
L(base) 2..20
L(base) 2..20
print(‘String '#.' in base #. is #. in base 10’.format(s, base, Int(s, base)))</lang>
print(‘String '#.' in base #. is #. in base 10’.format(s, base, Int(s, radix' base)))</lang>


{{out}}
{{out}}