Anonymous user
Non-decimal radices/Convert: Difference between revisions
→{{header|J}}: Added dual-mode function.
(→{{header|J}}: Added examples of use and reference to #. and #:) |
(→{{header|J}}: Added dual-mode function.) |
||
Line 189:
36 baseLtoN 'zy'
1294
These may be combined so the conversion performed is derived from the type of argument received.
base=: baseNtoL :: baseLtoN
16 base 'aa'
170
16 base 170
aa
See also primary verbs [http://www.jsoftware.com/help/dictionary/d401.htm Base] and [http://www.jsoftware.com/help/dictionary/d402.htm Antibase].
|